]> Creatis software - bbtk.git/blobdiff - kernel/cmake/BBTKFindLibraries.cmake
*** empty log message ***
[bbtk.git] / kernel / cmake / BBTKFindLibraries.cmake
index 5a86dd340c49606eb4efe4fe44b57a751b940d38..57039bb3ffae9fa702fd1cff7a5e56bcebb6e734 100644 (file)
@@ -14,6 +14,8 @@ IF(USE_VTK)
       # LG : removed vtkIO because conflict with itktiff lib in ITKIO 
       ) 
     MARK_AS_ADVANCED(VTK_DIR)
+  ELSE(VTK_FOUND)
+     message(FATAL_ERROR "VTK_DIR not found")
   ENDIF(VTK_FOUND)
 ENDIF(USE_VTK)
 #-----------------------------------------------------------------------------
@@ -89,6 +91,8 @@ IF(USE_ITK)
     IF ( itk_IMAGE_TYPE_DOUBLE ) 
       ADD_DEF( BBTK_ITK_IMAGE_TYPE_double )
     ENDIF ( itk_IMAGE_TYPE_DOUBLE )
+  ELSE(ITK_FOUND)
+     message(FATAL_ERROR "ITK_DIR not found")
   ENDIF(ITK_FOUND)
 ENDIF(USE_ITK)
 #-----------------------------------------------------------------------------