瀏覽代碼

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 年之前
父節點
當前提交
fd780b9009
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/FindTCL.cmake

+ 1 - 1
Modules/FindTCL.cmake

@@ -19,7 +19,7 @@ IF(UNIX)
 ENDIF(UNIX)
 ENDIF(UNIX)
 
 
 FIND_PROGRAM(TCL_TCLSH
 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
 # if UNIX is defined, then look for the cygwin version first