code cleanup: use system includes for cmake, otherwise warnings get printed in headers.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 18 Sep 2012 04:40:20 +0000 (04:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 18 Sep 2012 04:40:20 +0000 (04:40 +0000)
CMakeLists.txt
source/gameengine/CMakeLists.txt

index b11a652554927fd63a9c4959616b727cdc2eae46..821e56e40068799124fddd43e9160b54649c7355 100644 (file)
@@ -1106,7 +1106,7 @@ elseif(WIN32)
                set(PLATFORM_LINKFLAGS_DEBUG "/NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libc.lib")
 
                # used in many places so include globally, like OpenGL
-               blender_include_dirs("${PTHREADS_INCLUDE_DIRS}")
+               blender_include_dirs_sys("${PTHREADS_INCLUDE_DIRS}")
 
        elseif(CMAKE_COMPILER_IS_GNUCC)
        # keep GCC specific stuff here          
index a205ccbdc1282e849e2da9eeb0b89fc30b7c6698..aae7e93cc91061f5b022202368086aa396f4f1b1 100644 (file)
@@ -25,7 +25,7 @@
 
 # there are too many inter-includes so best define here
 if(WITH_PYTHON)
-       blender_include_dirs("${PYTHON_INCLUDE_DIRS}")
+       blender_include_dirs_sys("${PYTHON_INCLUDE_DIRS}")
        add_definitions(-DWITH_PYTHON)
 endif()