summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-13 20:23:18 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-13 20:23:18 (GMT)
commitd46ff28ac9465969f9fda862d06a048fa40d72f6 (patch)
treebb5b3d71a485922116b9164197e129c3d280e5ae /Modules
parentaf55f854d4f8fa8bc336dcb492c0dbe5ca9a1c92 (diff)
downloadCMake-d46ff28ac9465969f9fda862d06a048fa40d72f6.zip
CMake-d46ff28ac9465969f9fda862d06a048fa40d72f6.tar.gz
CMake-d46ff28ac9465969f9fda862d06a048fa40d72f6.tar.bz2
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
Diffstat (limited to 'Modules')
-rw-r--r--Modules/VTKCompatibility.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/VTKCompatibility.cmake b/Modules/VTKCompatibility.cmake
index a8af9a6..75e2f40 100644
--- a/Modules/VTKCompatibility.cmake
+++ b/Modules/VTKCompatibility.cmake
@@ -31,11 +31,6 @@ SET(VTK_WGLEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/wglext.h"
# 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.")