diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-11 10:00:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-11 10:00:28 +0400 |
commit | c2e1f3a1e2b2f06ba1500e4965310d1bd039fb66 (patch) | |
tree | 258bc1baf0c84b48cf3392953006bf6038169d7e /source/blenderplayer/CMakeLists.txt | |
parent | 6fb82a85c9a48c9fad6cb7b42994a9cd7b2b491a (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/blenderplayer/CMakeLists.txt')
-rw-r--r-- | source/blenderplayer/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt index 901aaea3eca..5fe045fda10 100644 --- a/source/blenderplayer/CMakeLists.txt +++ b/source/blenderplayer/CMakeLists.txt @@ -183,6 +183,12 @@ endif() message(STATUS "Player Skipping: (${REM_MSG})") endif() target_link_libraries(blenderplayer ${BLENDER_SORTED_LIBS}) + + unset(SEARCHLIB) + unset(SORTLIB) + unset(REMLIB) + unset(REM_MSG) + # else() # target_link_libraries(blenderplayer ${BLENDER_LINK_LIBS}) # endif() |