diff --git a/Modules/ToFProcessing/CMakeLists.txt b/Modules/ToFProcessing/CMakeLists.txt index dd8ff9e02e..bc2090729c 100644 --- a/Modules/ToFProcessing/CMakeLists.txt +++ b/Modules/ToFProcessing/CMakeLists.txt @@ -1,24 +1,13 @@ -#OPTION(MITK_USE_OpenCV "Use Intel's OpenCV library" OFF) - -IF(MITK_USE_OpenCV) - MITK_CREATE_MODULE(mitkToFProcessing SUBPROJECTS MITK-ToF DEPENDS Mitk MitkExt PACKAGE_DEPENDS OpenCV PROVIDES mitkToFProcessing ) IF(BUILD_TESTING) ADD_SUBDIRECTORY(Testing) ENDIF(BUILD_TESTING) -ELSE(MITK_USE_OpenCV) - - MESSAGE( "Not creating Module mitkToFProcessing. Set MITK_USE_OpenCV to ON." ) - -ENDIF(MITK_USE_OpenCV) - -