cmake: remove python include in the wm module, set opengl as a system include.
This commit is contained in:
parent
42ece56e91
commit
9dd066eb65
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue