From 3ce9496a7424151ed2581e6c508c6666ab48e556 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 6 Jun 2003 09:58:02 -0400 Subject: [PATCH] BUG: When VTK is not found, it should be fatal error --- Modules/FindVTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake index 257b6b828e..69abc5d073 100644 --- a/Modules/FindVTK.cmake +++ b/Modules/FindVTK.cmake @@ -123,6 +123,6 @@ IF(VTK_FOUND) ELSE(VTK_FOUND) # VTK not found, explain to the user how to specify its location. IF(NOT VTK_FIND_QUIETLY) - MESSAGE(${VTK_DIR_MESSAGE}) + MESSAGE(FATAL_ERROR ${VTK_DIR_MESSAGE}) ENDIF(NOT VTK_FIND_QUIETLY) ENDIF(VTK_FOUND)