From cad11df0394b6a4f9f5f2e5f945f605ea8cd44df Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Thu, 22 Mar 2018 16:54:12 +0800 Subject: [PATCH] Fix mingw compilation --- code/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 6e2db91db..dafe017ef 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -485,9 +485,9 @@ ADD_ASSIMP_IMPORTER( IFC ) if (ASSIMP_BUILD_IFC_IMPORTER) if (MSVC) - set_source_files_properties(IFCReaderGen1.cpp IFCReaderGen2.cpp PROPERTIES COMPILE_FLAGS "/bigobj") + set_source_files_properties(Importer/IFC/IFCReaderGen1_2x3.cpp Importer/IFC/IFCReaderGen2_2x3.cpp PROPERTIES COMPILE_FLAGS "/bigobj") elseif(CMAKE_COMPILER_IS_MINGW) - set_source_files_properties(IFCReaderGen1.cpp IFCReaderGen2.cpp PROPERTIES COMPILE_FLAGS "-O2 -Wa,-mbig-obj") + set_source_files_properties(Importer/IFC/IFCReaderGen1_2x3.cpp Importer/IFC/IFCReaderGen2_2x3.cpp PROPERTIES COMPILE_FLAGS "-O2 -Wa,-mbig-obj") endif() endif (ASSIMP_BUILD_IFC_IMPORTER)