summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2008-01-18 18:46:10 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2008-01-18 18:46:10 (GMT)
commit03dfe8356ff0248cbbd1b842affad7c1bc2f7488 (patch)
treec4e2ba74490e2cce901bb850e286698bea987961 /Modules/FindTCL.cmake
parent4f37eacfdbcdda1f68edfa9e4428c9a040f797fb (diff)
downloadCMake-03dfe8356ff0248cbbd1b842affad7c1bc2f7488.zip
CMake-03dfe8356ff0248cbbd1b842affad7c1bc2f7488.tar.gz
CMake-03dfe8356ff0248cbbd1b842affad7c1bc2f7488.tar.bz2
ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5)
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r--Modules/FindTCL.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index 9a73d40..47ce849 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -32,7 +32,10 @@ GET_FILENAME_COMPONENT(TK_WISH_PATH_PARENT "${TK_WISH_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TK_INCLUDE_PATH_PARENT "${TK_INCLUDE_PATH}" PATH)
+GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
+
+GET_FILENAME_COMPONENT(TK_LIBRARY_PATH "${TK_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TK_LIBRARY_PATH_PARENT "${TK_LIBRARY_PATH}" PATH)
GET_FILENAME_COMPONENT(
@@ -168,9 +171,6 @@ IF(Tk_FRAMEWORKS)
ENDIF(NOT TK_INCLUDE_PATH)
ENDIF(Tk_FRAMEWORKS)
-GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
-GET_FILENAME_COMPONENT(TK_LIBRARY_PATH "${TK_LIBRARY}" PATH)
-
SET (TCLTK_POSSIBLE_INCLUDE_PATHS
${TCL_TCLSH_PATH_PARENT}/include
${TK_WISH_PATH_PARENT}/include