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()