cmake: remove python include in the wm module, set opengl as a system include.

This commit is contained in:
Campbell Barton 2011-06-08 05:39:58 +00:00
parent 42ece56e91
commit 9dd066eb65
2 changed files with 1 additions and 2 deletions

View File

@ -1041,7 +1041,7 @@ endif()
#-----------------------------------------------------------------------------
# Configure OpenGL.
find_package(OpenGL)
blender_include_dirs("${OPENGL_INCLUDE_DIR}")
blender_include_dirs_sys("${OPENGL_INCLUDE_DIR}")
# unset(OPENGL_LIBRARIES CACHE) # not compat with older cmake
# unset(OPENGL_xmesa_INCLUDE_DIR CACHE) # not compat with older cmake

View File

@ -101,7 +101,6 @@ endif()
if(WITH_PYTHON)
list(APPEND INC ../python)
list(APPEND INC_SYS ${PYTHON_INCLUDE_DIRS})
add_definitions(-DWITH_PYTHON)
if(WITH_PYTHON_SECURITY)