2 # This module looks for wget. This module defines the
4 # WGET_EXECUTABLE: the full path to the wget tool.
5 # WGET_FOUND: True if wget has been found.
9 FIND_PROGRAM(WGET_EXECUTABLE
11 ${CYGWIN_INSTALL_PATH}/bin
14 # handle the QUIETLY and REQUIRED arguments and set WGET_FOUND to TRUE if
15 # all listed variables are TRUE
16 INCLUDE(FindPackageHandleStandardArgs)
17 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Wget DEFAULT_MSG WGET_EXECUTABLE)
19 MARK_AS_ADVANCED( WGET_EXECUTABLE )
21 # WGET option is deprecated.
22 # use WGET_EXECUTABLE instead.
23 SET (WGET ${WGET_EXECUTABLE} )