Browse Source

Do not use PCH on AssImp contrib source files, as they're not all prepared for that.

Lasse Öörni 12 years ago
parent
commit
3ec6f66fae
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Source/ThirdParty/Assimp/CMakeLists.txt

+ 4 - 4
Source/ThirdParty/Assimp/CMakeLists.txt

@@ -692,10 +692,6 @@ SET( CONTRIB_FILES
 	${Boost_SRCS}
 	${Boost_SRCS}
 )
 )
 
 
-set (TARGET_NAME Assimp)
-list (APPEND SOURCE_FILES ${CONTRIB_FILES} ${PUBLIC_HEADERS} ${COMPILER_HEADERS})
-setup_library ()
-
 if (MSVC)
 if (MSVC)
     foreach(FILE ${SOURCE_FILES})
     foreach(FILE ${SOURCE_FILES})
         if (${FILE} MATCHES "[A-Za-z0-9 _/]*[.]cpp")
         if (${FILE} MATCHES "[A-Za-z0-9 _/]*[.]cpp")
@@ -707,3 +703,7 @@ if (MSVC)
         endif ()
         endif ()
     endforeach ()
     endforeach ()
 endif ()
 endif ()
+
+set (TARGET_NAME Assimp)
+list (APPEND SOURCE_FILES ${CONTRIB_FILES} ${PUBLIC_HEADERS} ${COMPILER_HEADERS})
+setup_library ()