diff --git a/Modules/FindTclsh.cmake b/Modules/FindTclsh.cmake index db8630145..4bacc0ffb 100644 --- a/Modules/FindTclsh.cmake +++ b/Modules/FindTclsh.cmake @@ -32,8 +32,4 @@ FIND_PROGRAM(TCL_TCLSH [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin ) -IF (WIN32) - MARK_AS_ADVANCED( - TCL_TCLSH - ) -ENDIF(WIN32) +MARK_AS_ADVANCED( TCL_TCLSH ) diff --git a/Modules/FindWish.cmake b/Modules/FindWish.cmake index ea4894015..c8cd3f751 100644 --- a/Modules/FindWish.cmake +++ b/Modules/FindWish.cmake @@ -19,8 +19,4 @@ FIND_PROGRAM(TK_WISH [HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/bin ) -IF (WIN32) - MARK_AS_ADVANCED( - TK_WISH - ) -ENDIF(WIN32) +MARK_AS_ADVANCED(TK_WISH )