[Cmake-commits] [cmake-commits] king committed VTKCompatibility.cmake 1.10 1.11
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Mar 13 16:23:20 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv16290/Modules
Modified Files:
VTKCompatibility.cmake
Log Message:
ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
- Policy is WARN by default so projects will build
as they did in 2.4 without user intervention
- Remove CMAKE_LINK_OLD_PATHS variable since it was
never in a release and the policy supercedes it
- Report target creation backtrace in warning message
since policy should be set by that point
Index: VTKCompatibility.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/VTKCompatibility.cmake,v
retrieving revision 1.10
retrieving revision 1.11
diff -C 2 -d -r1.10 -r1.11
*** VTKCompatibility.cmake 3 Mar 2008 16:57:02 -0000 1.10
--- VTKCompatibility.cmake 13 Mar 2008 20:23:18 -0000 1.11
***************
*** 32,40 ****
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)
--- 32,35 ----
More information about the Cmake-commits
mailing list