summaryrefslogtreecommitdiffstats
path: root/Modules/FindTclsh.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindTclsh.cmake')
-rw-r--r--Modules/FindTclsh.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/FindTclsh.cmake b/Modules/FindTclsh.cmake
index d2cc86b..129c11a 100644
--- a/Modules/FindTclsh.cmake
+++ b/Modules/FindTclsh.cmake
@@ -66,11 +66,7 @@ SET(TCL_TCLSH_NAMES
FIND_PROGRAM(TCL_TCLSH
NAMES ${TCL_TCLSH_NAMES}
- PATHS ${TCLTK_POSSIBLE_BIN_PATHS} NO_DEFAULT_PATH
- )
-FIND_PROGRAM(TCL_TCLSH
- NAMES ${TCL_TCLSH_NAMES}
- PATHS ${TCLTK_POSSIBLE_BIN_PATHS}
+ HINTS ${TCLTK_POSSIBLE_BIN_PATHS}
)
# handle the QUIETLY and REQUIRED arguments and set TIFF_FOUND to TRUE if