[cmake-commits] martink committed VTKCompatibility.cmake 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Dec 13 12:11:16 EST 2006
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv1509
Modified Files:
VTKCompatibility.cmake
Log Message:
ENH: fix for back VTK error message
Index: VTKCompatibility.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/VTKCompatibility.cmake,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- VTKCompatibility.cmake 12 Dec 2006 18:59:30 -0000 1.7
+++ VTKCompatibility.cmake 13 Dec 2006 17:11:14 -0000 1.8
@@ -32,6 +32,7 @@
SET(TIFF_RIGHT_VERSION 1)
# for very old VTK (versions prior to 4.2)
-if (NOT VTK_MAJOR_VERSION)
+MACRO(SOURCE_FILES)
message (FATAL_ERROR "You are trying to build a very old version of VTK (prior to VTK 4.2). To do this you need to use CMake 2.0 as it was the last version of CMake to support VTK 4.0.")
-endif (NOT VTK_MAJOR_VERSION)
+ENDMACRO(SOURCE_FILES)
+
More information about the Cmake-commits
mailing list