From 6df4c1317f9b4a5526c4db65999d9dba6ce7794b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 18 Sep 2012 04:40:20 +0000 Subject: [PATCH] code cleanup: use system includes for cmake, otherwise warnings get printed in headers. --- CMakeLists.txt | 2 +- source/gameengine/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b11a6525549..821e56e4006 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/source/gameengine/CMakeLists.txt b/source/gameengine/CMakeLists.txt index a205ccbdc12..aae7e93cc91 100644 --- a/source/gameengine/CMakeLists.txt +++ b/source/gameengine/CMakeLists.txt @@ -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()