BUG: When VTK is not found, it should be fatal error
This commit is contained in:
parent
65dcf074a1
commit
3ce9496a74
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue