summaryrefslogtreecommitdiff
path: root/Modules/FindWish.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindWish.cmake')
-rw-r--r--Modules/FindWish.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/FindWish.cmake b/Modules/FindWish.cmake
index 86e9c67610..0afd3c963c 100644
--- a/Modules/FindWish.cmake
+++ b/Modules/FindWish.cmake
@@ -65,11 +65,7 @@ SET(TK_WISH_NAMES
FIND_PROGRAM(TK_WISH
NAMES ${TK_WISH_NAMES}
- PATHS ${TCLTK_POSSIBLE_BIN_PATHS} NO_DEFAULT_PATH
- )
-FIND_PROGRAM(TK_WISH
- NAMES ${TK_WISH_NAMES}
- PATHS ${TCLTK_POSSIBLE_BIN_PATHS}
+ HINTS ${TCLTK_POSSIBLE_BIN_PATHS}
)
MARK_AS_ADVANCED(TK_WISH)