[Cmake-commits] [cmake-commits] alex committed FindVTK.cmake 1.28 1.29
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Apr 27 07:35:23 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv10514
Modified Files:
FindVTK.cmake
Log Message:
BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
Index: FindVTK.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindVTK.cmake,v
retrieving revision 1.28
retrieving revision 1.29
diff -C 2 -d -r1.28 -r1.29
*** FindVTK.cmake 23 May 2006 14:40:40 -0000 1.28
--- FindVTK.cmake 27 Apr 2008 11:35:21 -0000 1.29
***************
*** 131,140 ****
ELSE(VTK_FOUND)
# VTK not found, explain to the user how to specify its location.
! IF(NOT VTK_FIND_QUIETLY)
MESSAGE(FATAL_ERROR ${VTK_DIR_MESSAGE})
! ELSE(NOT VTK_FIND_QUIETLY)
! IF(VTK_FIND_REQUIRED)
! MESSAGE(FATAL_ERROR ${VTK_DIR_MESSAGE})
! ENDIF(VTK_FIND_REQUIRED)
! ENDIF(NOT VTK_FIND_QUIETLY)
ENDIF(VTK_FOUND)
--- 131,140 ----
ELSE(VTK_FOUND)
# VTK not found, explain to the user how to specify its location.
! IF(VTK_FIND_REQUIRED)
MESSAGE(FATAL_ERROR ${VTK_DIR_MESSAGE})
! ELSE(VTK_FIND_REQUIRED)
! IF(NOT VTK_FIND_QUIETLY)
! MESSAGE(STATUS ${VTK_DIR_MESSAGE})
! ENDIF(NOT VTK_FIND_QUIETLY)
! ENDIF(VTK_FIND_REQUIRED)
ENDIF(VTK_FOUND)
More information about the Cmake-commits
mailing list