From: Eduardo Davila Date: Tue, 5 Feb 2008 16:13:43 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~272 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=25bdc6c1abfae7b8aea5564bee7f0c2f0615c37c;p=bbtk.git *** empty log message *** --- diff --git a/kernel/cmake/BBTKFindLibraries.cmake b/kernel/cmake/BBTKFindLibraries.cmake index 5a86dd3..b5d8d9e 100644 --- a/kernel/cmake/BBTKFindLibraries.cmake +++ b/kernel/cmake/BBTKFindLibraries.cmake @@ -89,6 +89,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) #-----------------------------------------------------------------------------