diff options
Diffstat (limited to 'Modules/FindWget.cmake')
-rw-r--r-- | Modules/FindWget.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/FindWget.cmake b/Modules/FindWget.cmake index ee4057d..a1dd47f 100644 --- a/Modules/FindWget.cmake +++ b/Modules/FindWget.cmake @@ -17,20 +17,20 @@ # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) -INCLUDE(FindCygwin) +include(FindCygwin) -FIND_PROGRAM(WGET_EXECUTABLE +find_program(WGET_EXECUTABLE wget ${CYGWIN_INSTALL_PATH}/bin ) # handle the QUIETLY and REQUIRED arguments and set WGET_FOUND to TRUE if # all listed variables are TRUE -INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) +include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Wget DEFAULT_MSG WGET_EXECUTABLE) -MARK_AS_ADVANCED( WGET_EXECUTABLE ) +mark_as_advanced( WGET_EXECUTABLE ) # WGET option is deprecated. # use WGET_EXECUTABLE instead. -SET (WGET ${WGET_EXECUTABLE} ) +set (WGET ${WGET_EXECUTABLE} ) |