BUG: When VTK is not found, it should be fatal error

This commit is contained in:
Andy Cedilnik 2003-06-06 09:58:02 -04:00
parent 65dcf074a1
commit 3ce9496a74

View File

@ -123,6 +123,6 @@ IF(VTK_FOUND)
ELSE(VTK_FOUND) ELSE(VTK_FOUND)
# VTK not found, explain to the user how to specify its location. # VTK not found, explain to the user how to specify its location.
IF(NOT VTK_FIND_QUIETLY) IF(NOT VTK_FIND_QUIETLY)
MESSAGE(${VTK_DIR_MESSAGE}) MESSAGE(FATAL_ERROR ${VTK_DIR_MESSAGE})
ENDIF(NOT VTK_FIND_QUIETLY) ENDIF(NOT VTK_FIND_QUIETLY)
ENDIF(VTK_FOUND) ENDIF(VTK_FOUND)