Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-11 10:00:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-11 10:00:28 +0400
commitc2e1f3a1e2b2f06ba1500e4965310d1bd039fb66 (patch)
tree258bc1baf0c84b48cf3392953006bf6038169d7e /source/creator
parent6fb82a85c9a48c9fad6cb7b42994a9cd7b2b491a (diff)
fix for using system includes, the include macro wasn't un-setting the previous include list so system includes could be mixed up with non system includes.
Also workaround for CMake 2.8.4 & GNU-Make which doesn't set CMAKE_INCLUDE_SYSTEM_FLAG_C
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index db467eebb5c..85fda11bd66 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -851,6 +851,12 @@ endif()
message(STATUS "Blender Skipping: (${REM_MSG})")
endif()
target_link_libraries(blender ${BLENDER_SORTED_LIBS})
+
+ unset(SEARCHLIB)
+ unset(SORTLIB)
+ unset(REMLIB)
+ unset(REM_MSG)
+
#else()
# target_link_libraries(blender ${BLENDER_LINK_LIBS})
#endif()