summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2003-10-16 15:05:04 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2003-10-16 15:05:04 (GMT)
commit296e73180844791bf1a8ec51dad489625ca8c9f3 (patch)
treefc24b1bcd18952596ac4b686b14b5c6e0a846a3d /Modules/FindTCL.cmake
parent4d2ca08bc7a91fcc207ec481323796acdf68eec6 (diff)
downloadCMake-296e73180844791bf1a8ec51dad489625ca8c9f3.zip
CMake-296e73180844791bf1a8ec51dad489625ca8c9f3.tar.gz
CMake-296e73180844791bf1a8ec51dad489625ca8c9f3.tar.bz2
FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin)
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r--Modules/FindTCL.cmake16
1 files changed, 8 insertions, 8 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index 23c2f83..0b95c6b 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -28,14 +28,14 @@ GET_FILENAME_COMPONENT(TK_WISH_PATH ${TK_WISH} PATH)
SET (TCLTK_POSSIBLE_LIB_PATHS
"${TCL_TCLSH_PATH}/../lib"
"${TK_WISH_PATH}/../lib"
- /usr/lib
- /usr/local/lib
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib
+ /usr/lib
+ /usr/local/lib
)
FIND_LIBRARY(TCL_LIBRARY
@@ -87,18 +87,18 @@ SET (TCLTK_POSSIBLE_INCLUDE_PATHS
/Library/Frameworks/Tk.framework/PrivateHeaders
"${TCL_TCLSH_PATH}/../include"
"${TK_WISH_PATH}/../include"
- /usr/include
- /usr/local/include
- /usr/include/tcl8.4
- /usr/include/tcl8.3
- /usr/include/tcl8.2
- /usr/include/tcl8.0
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include
[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
+ /usr/include
+ /usr/local/include
+ /usr/include/tcl8.4
+ /usr/include/tcl8.3
+ /usr/include/tcl8.2
+ /usr/include/tcl8.0
)
FIND_PATH(TCL_INCLUDE_PATH tcl.h