diff options
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r-- | Modules/FindTCL.cmake | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake index 3810609..568ab0e 100644 --- a/Modules/FindTCL.cmake +++ b/Modules/FindTCL.cmake @@ -174,22 +174,12 @@ ENDIF(WIN32) FIND_PATH(TCL_INCLUDE_PATH NAMES tcl.h - PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS} - NO_DEFAULT_PATH - ) -FIND_PATH(TCL_INCLUDE_PATH - NAMES tcl.h - PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS} + HINTS ${TCLTK_POSSIBLE_INCLUDE_PATHS} ) FIND_PATH(TK_INCLUDE_PATH NAMES tk.h - PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS} - NO_DEFAULT_PATH - ) -FIND_PATH(TK_INCLUDE_PATH - NAMES tk.h - PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS} + HINTS ${TCLTK_POSSIBLE_INCLUDE_PATHS} ) # handle the QUIETLY and REQUIRED arguments and set TCL_FOUND to TRUE if |