diff options
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r-- | Modules/FindTCL.cmake | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake index e218747..8c01694 100644 --- a/Modules/FindTCL.cmake +++ b/Modules/FindTCL.cmake @@ -87,14 +87,16 @@ FIND_PATH(TK_INCLUDE_PATH tk.h "${TK_WISH_PATH}/../include" ) -FIND_PATH(TK_INTERNAL_PATH tkWinInt.h - /usr/include - /usr/local/include - "C:/Program Files/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 - "${TCL_TCLSH_PATH}/../include" - "${TK_WISH_PATH}/../include" -) +IF (WIN32) + FIND_PATH(TK_INTERNAL_PATH tkWinInt.h + /usr/include + /usr/local/include + "C:/Program Files/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 + "${TCL_TCLSH_PATH}/../include" + "${TK_WISH_PATH}/../include" + ) +ENDIF(WIN32) |