diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-04 15:55:17 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-12-04 15:55:17 (GMT) |
commit | cb4f04c94e5815393e9b1d765588c23656149b4e (patch) | |
tree | e1586635e8c85d0e88faf7b42451f9d8f2de40ca /Modules/FindWget.cmake | |
parent | f68e64e2d8488a57740cc5b2fb0f914a769c4e8e (diff) | |
download | CMake-cb4f04c94e5815393e9b1d765588c23656149b4e.zip CMake-cb4f04c94e5815393e9b1d765588c23656149b4e.tar.gz CMake-cb4f04c94e5815393e9b1d765588c23656149b4e.tar.bz2 |
Remove unneeded test and code duplication. Add WIN32 test. Make all ADVANCED.
Diffstat (limited to 'Modules/FindWget.cmake')
-rw-r--r-- | Modules/FindWget.cmake | 22 |
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 +) |