- include pthreads for win32 globally (as with opengl).
[blender-staging.git] / source / blender / windowmanager / CMakeLists.txt
index c39897af68aa029f9033784db750941f41793fe5..e47d85cd4621ca1c385711134dfe47a8213f32d9 100644 (file)
@@ -86,13 +86,12 @@ ENDIF(WITH_FFMPEG)
 
 IF(WITH_PYTHON)
        LIST(APPEND INC ../python ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
-IF(WIN32)
-       LIST(APPEND INC ${PTHREADS_INC})
-ENDIF(WIN32)
+IF(WITH_GAMEENGINE)
+       ADD_DEFINITIONS(-DWITH_GAMEENGINE)
+ENDIF(WITH_GAMEENGINE)
 
 IF(WITH_COCOA)
        LIST(REMOVE_ITEM SRC "${CMAKE_CURRENT_SOURCE_DIR}/intern/wm_apple.c")