summaryrefslogtreecommitdiffstats
path: root/Modules/FindWget.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindWget.cmake')
-rw-r--r--Modules/FindWget.cmake22
1 files changed, 8 insertions, 14 deletions
diff --git a/Modules/FindWget.cmake b/Modules/FindWget.cmake
index 5a2110c..1ebdd57 100644
--- a/Modules/FindWget.cmake
+++ b/Modules/FindWget.cmake
@@ -4,17 +4,11 @@
INCLUDE(${CMAKE_ROOT}/Modules/FindCygwin.cmake)
-IF (CYGWIN_INSTALL_PATH)
-
- FIND_PROGRAM(WGET
- wget
- ${CYGWIN_INSTALL_PATH}/bin
- )
-
-ELSE (CYGWIN_INSTALL_PATH)
-
- FIND_PROGRAM(WGET
- wget
- )
-
-ENDIF (CYGWIN_INSTALL_PATH)
+FIND_PROGRAM(WGET
+ wget
+ ${CYGWIN_INSTALL_PATH}/bin
+)
+
+MARK_AS_ADVANCED(
+ WGET
+)