summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-07-29 13:46:50 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-07-29 13:46:50 (GMT)
commit7dffa485f6316185fed1e8732501325fe336a54c (patch)
tree34541dd75df178cb9062c2ac2675df95d2e853c7 /Modules/FindTCL.cmake
parent8fc6bce000fffa87fce9f34a5b859c15f8c51827 (diff)
downloadCMake-7dffa485f6316185fed1e8732501325fe336a54c.zip
CMake-7dffa485f6316185fed1e8732501325fe336a54c.tar.gz
CMake-7dffa485f6316185fed1e8732501325fe336a54c.tar.bz2
ENH: change the search path order (if several Tcl/Tk are installed, the "current" version is likely to be the one that is bound to the wish/tclsh found in the PATH)
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r--Modules/FindTCL.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index 373c62b..06249e2 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -79,6 +79,8 @@ FIND_LIBRARY(TK_STUB_LIBRARY_DEBUG
)
SET (TCLTK_POSSIBLE_INCLUDE_PATHS
+ "${TCL_TCLSH_PATH}/../include"
+ "${TK_WISH_PATH}/../include"
/usr/include
/usr/local/include
/usr/include/tcl8.4
@@ -91,8 +93,6 @@ SET (TCLTK_POSSIBLE_INCLUDE_PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include
- "${TCL_TCLSH_PATH}/../include"
- "${TK_WISH_PATH}/../include"
)
FIND_PATH(TCL_INCLUDE_PATH tcl.h