diff --git a/Modules/Python/CMakeLists.txt b/Modules/Python/CMakeLists.txt index 03ac79fce6..324265a209 100644 --- a/Modules/Python/CMakeLists.txt +++ b/Modules/Python/CMakeLists.txt @@ -1,27 +1,27 @@ if( MITK_USE_Python ) if(NOT MITK_USE_SYSTEM_PYTHON) add_definitions( -DUSE_MITK_BUILTIN_PYTHON ) endif() set(OpenCV_DEP ) set(SimpleITK_DEP ) if(MITK_USE_OpenCV) set(OpenCV_DEP OpenCV) endif() - if(not APPLE) + if(NOT APPLE) set(SimpleITK_DEP SimpleITK) endif() MITK_CREATE_MODULE( DEPENDS MitkCore EXPORT_DEFINE MITK_PYTHON_EXPORT PACKAGE_DEPENDS Qt4|QtGui CTK|CTKScriptingPythonCore+CTKScriptingPythonWidgets PythonLibs VTK|vtkPython+vtkWrappingPythonCore ${SimpleITK_DEP} ${OpenCV_DEP} INCLUDE_DIRS ${NUMPY_INCLUDE_DIR} ) configure_file(PythonPath.h.in "${CMAKE_CURRENT_BINARY_DIR}/PythonPath.h" @ONLY) if(NOT APPLE) add_subdirectory(Testing) endif() endif()