]> Creatis software - clitk.git/blobdiff - CMakeLists.txt
fix dependency problems
[clitk.git] / CMakeLists.txt
index 694d7b62f125c920577d8b3e9fd825746a9adefd..4ccd497d5f0c7ef62ea402fc28b0a11be21c2a4f 100644 (file)
@@ -63,16 +63,13 @@ INCLUDE_DIRECTORIES(itk filters segmentation registration tools ${PROJECT_BINARY
 ADD_SUBDIRECTORY(common)
 add_subdirectory(tools)
 add_subdirectory(segmentation)
+add_subdirectory(registration)
 
 # Compilation options
 OPTION(CLITK_EXPERIMENTAL "Enable experimental software and features" OFF)
 OPTION(CLITK_BUILD_TOOLS "Build command-line tools" OFF)
-OPTION(CLITK_BUILD_SEGMENTATION "Build segmentation tools" OFF)
-
+OPTION(CLITK_BUILD_SEGMENTATION "Build command-line segmentation tools" OFF)
 OPTION(CLITK_BUILD_REGISTRATION "Build command-line registration tools" OFF)
-IF (CLITK_BUILD_REGISTRATION)
-  add_subdirectory(registration)
-ENDIF(CLITK_BUILD_REGISTRATION)
 
 OPTION(CLITK_BUILD_VV "Build vv the 4D visualizer (requires VTK and QT)" ON)
 IF (CLITK_BUILD_VV)