Fixed a compile error on MSVC14 x64 caused by the /bigobj flag failing to be set
authorJared Mulconry <j.mulconry@atomizergames.com>
Mon, 14 Nov 2016 11:52:29 +0000 (22:52 +1100)
committerJared Mulconry <j.mulconry@atomizergames.com>
Mon, 14 Nov 2016 11:52:29 +0000 (22:52 +1100)
for the 1 and 2-suffixed versions introduced in
commit 0a25b076b8968b7ea2aa96d7d1b4381be2d72ce6.

code/CMakeLists.txt

index ac7002a..3f0b696 100644 (file)
@@ -463,7 +463,7 @@ ADD_ASSIMP_IMPORTER( IFC
   STEPFileEncoding.h
 )
 if (MSVC AND ASSIMP_BUILD_IFC_IMPORTER)
-  set_source_files_properties(IFCReaderGen.cpp PROPERTIES COMPILE_FLAGS "/bigobj")
+  set_source_files_properties(IFCReaderGen1.cpp IFCReaderGen2.cpp PROPERTIES COMPILE_FLAGS "/bigobj")
 endif (MSVC AND ASSIMP_BUILD_IFC_IMPORTER)
 
 ADD_ASSIMP_IMPORTER( XGL