1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# # this module looks for wget # 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)