Commit 7f5ad243 authored by Tomasz Dołbniak's avatar Tomasz Dołbniak Committed by Scott Cyphers

Set the bigobj compilation flag for MSVC (#3765)

parent 22e9847e
......@@ -82,6 +82,10 @@ if ("${CMAKE_GENERATOR}" MATCHES "^Visual Studio.*$")
set(MSVS TRUE)
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES MSVC)
add_definitions(/bigobj)
endif()
# APPLE: Set CMAKE_OSX_SYSROOT if not set already.
if (APPLE)
execute_process(COMMAND sw_vers -productVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment