summaryrefslogtreecommitdiff
path: root/Modules/FindWget.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindWget.cmake')
-rw-r--r--Modules/FindWget.cmake14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/FindWget.cmake b/Modules/FindWget.cmake
index c94132c..a1dd47f 100644
--- a/Modules/FindWget.cmake
+++ b/Modules/FindWget.cmake
@@ -1,5 +1,5 @@
# - Find wget
-# This module looks for wget. This module defines the
+# This module looks for wget. This module defines the
# following values:
# WGET_EXECUTABLE: the full path to the wget tool.
# WGET_FOUND: True if wget has been found.
@@ -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
+# 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} )