=bmesh= merge from trunk at r36529
[blender.git] / source / blender / windowmanager / CMakeLists.txt
index b015e7bbb868ee62c25be8cf2f8246dedb9753f3..c6803216d788eeabf50742b23cefec0a8f95b740 100644 (file)
@@ -37,12 +37,13 @@ set(INC
        ../blenloader
        ../editors/include
        ../render/extern/include
-       ../../kernel/gen_system
        ../../../intern/guardedalloc
        ../../../intern/memutil
        ../../../intern/elbeem/extern
        ../../../intern/ghost
        ../../../intern/opennl/extern
+       ../../../source/gameengine/BlenderRoutines
+       ${ZLIB_INCLUDE_DIRS}
        ${OPENGL_INCLUDE_DIR}
        ${GLEW_INCLUDE_PATH}
 )
@@ -98,6 +99,10 @@ endif()
 if(WITH_PYTHON)
        list(APPEND INC ../python ${PYTHON_INCLUDE_DIRS})
        add_definitions(-DWITH_PYTHON)
+
+       if(WITH_PYTHON_SECURITY)
+               add_definitions(-DWITH_PYTHON_SECURITY)
+       endif()
 endif()
 
 if(WITH_GAMEENGINE)