diff options
Diffstat (limited to 'source/blender/editors/interface/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/interface/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/CMakeLists.txt b/source/blender/editors/interface/CMakeLists.txt index 29ceb1fd82e..4b4590aeee5 100644 --- a/source/blender/editors/interface/CMakeLists.txt +++ b/source/blender/editors/interface/CMakeLists.txt @@ -39,8 +39,8 @@ IF(WITH_INTERNATIONAL) ADD_DEFINITIONS(-DINTERNATIONAL) ENDIF(WITH_INTERNATIONAL) -IF(WITH_PYTHON) +IF(NOT WITH_PYTHON) ADD_DEFINITIONS(-DDISABLE_PYTHON) -ENDIF(WITH_PYTHON) +ENDIF(NOT WITH_PYTHON) BLENDERLIB(bf_editor_interface "${SRC}" "${INC}") |