https://github.com/Kitware/CMake
Revision c3d9d800157a8fe2c0478d7e054544b99694c240 authored by Brad King on 16 July 2019, 14:30:30 UTC, committed by Kitware Robot on 16 July 2019, 14:30:38 UTC
c2c3d22504 Tests: Drop RunCMake workaround for AIX ld warnings about GNU atexit
9f5c2040bf AIX: Explicitly compute executable exports for both XL and GNU
0f150b69d3 AIX: Explicitly compute shared object exports for both XL and GNU
a5bf4e7921 AIX: Drop redundant -brtl flags
9cb5f040d7 XL: De-duplicate shared object creation flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3556
2 parent s 76a540b + c2c3d22
Raw File
Tip revision: c3d9d800157a8fe2c0478d7e054544b99694c240 authored by Brad King on 16 July 2019, 14:30:30 UTC
Merge topic 'aix-explicit-exports'
Tip revision: c3d9d80
FindWget.cmake
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.

#[=======================================================================[.rst:
FindWget
--------

Find wget

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.
#]=======================================================================]

include(${CMAKE_CURRENT_LIST_DIR}/FindCygwin.cmake)

find_program(WGET_EXECUTABLE
  wget
  ${CYGWIN_INSTALL_PATH}/bin
)

include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Wget DEFAULT_MSG WGET_EXECUTABLE)

mark_as_advanced( WGET_EXECUTABLE )

# WGET option is deprecated.
# use WGET_EXECUTABLE instead.
set (WGET ${WGET_EXECUTABLE})
back to top