X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=85f0488d79b5282811ffc3b81114f2a17ec75984;hb=f1d5aef5e0eaa2ef4aacd0354915ffe371fc9866;hp=3d6c22befb12d439a1329d67c0393b2b13574983;hpb=ca94db3e23a4413b01f1c18fbe18cc10ab75fdaf;p=gdcm.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d6c22be..85f0488d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -285,6 +285,8 @@ IF(GDCM_VTK) IF(VTK_FOUND) #INCLUDE(${VTK_USE_FILE}) SUBDIRS(vtk) + ELSEIF(VTK_FOUND) + message(FATAL_ERROR "VTK not found") ENDIF(VTK_FOUND) ENDIF(GDCM_VTK)