[cmake-commits] king committed VTKCompatibility.cmake 1.8 1.9
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jan 23 15:22:40 EST 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv31397/Modules
Modified Files:
VTKCompatibility.cmake
Log Message:
ENH: Added CMAKE_LINK_OLD_PATHS compatibility mode for linker search paths.
Index: VTKCompatibility.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/VTKCompatibility.cmake,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- VTKCompatibility.cmake 13 Dec 2006 17:11:14 -0000 1.8
+++ VTKCompatibility.cmake 23 Jan 2008 20:22:38 -0000 1.9
@@ -31,6 +31,11 @@
# work around an old bug in VTK
SET(TIFF_RIGHT_VERSION 1)
+# vtkRendering links to X11 with "-lXt ${X11_LIBRARIES}" because CMake
+# 2.4 and below did not provide the X11_Xt_LIB variable. We need the
+# linker search path compatiblity feature.
+SET(CMAKE_LINK_OLD_PATHS 1)
+
# for very old VTK (versions prior to 4.2)
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.")
More information about the Cmake-commits
mailing list