Browse Source

Merge pull request #2168 from assimp/issue_2067

 closes https://github.com/assimp/assimp/issues/2067: introduce /bigo…
Kim Kulling 7 years ago
parent
commit
85b9e36c2d
1 changed files with 1 additions and 3 deletions
  1. 1 3
      CMakeLists.txt

+ 1 - 3
CMakeLists.txt

@@ -223,9 +223,7 @@ IF ((CMAKE_C_COMPILER_ID MATCHES "GNU") AND NOT CMAKE_COMPILER_IS_MINGW)
 ELSEIF(MSVC)
   # enable multi-core compilation with MSVC
   ADD_COMPILE_OPTIONS(/MP)
-  if(CMAKE_SIZEOF_VOID_P EQUAL 8)
-    ADD_COMPILE_OPTIONS( /bigobj )
-  ENDIF()
+  ADD_COMPILE_OPTIONS( /bigobj )
   # disable "elements of array '' will be default initialized" warning on MSVC2013
   IF(MSVC12)
     ADD_COMPILE_OPTIONS(/wd4351)