Browse Source

move cygtclsh80 to the end of list, otherwise it might be found while the non-cygwin wish8x.exe will be found too. If wish8x.exe is found, then the non-cygwin tclsh8x.exe must be found too.

Sebastien Barre 24 years ago
parent
commit
fd780b9009
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/FindTCL.cmake

+ 1 - 1
Modules/FindTCL.cmake

@@ -19,7 +19,7 @@ IF(UNIX)
 ENDIF(UNIX)
 
 FIND_PROGRAM(TCL_TCLSH
-  NAMES cygtclsh80 tclsh tclsh84 tclsh83 tclsh82 tclsh80
+  NAMES tclsh tclsh84 tclsh83 tclsh82 tclsh80 cygtclsh80
 )
 
 # if UNIX is defined, then look for the cygwin version first