Merge topic 'FindUnixCommands-use-FPHSA'
ff50046b
FindUnixCommand: Use FPHSA to report status in standard way
This commit is contained in:
commit
470c549c62
|
@ -2,12 +2,13 @@
|
||||||
# FindUnixCommands
|
# FindUnixCommands
|
||||||
# ----------------
|
# ----------------
|
||||||
#
|
#
|
||||||
# Find unix commands from cygwin
|
# Find Unix commands, including the ones from Cygwin
|
||||||
#
|
#
|
||||||
# This module looks for some usual Unix commands.
|
# This module looks for the Unix commands bash, cp, gzip, mv, rm, and tar
|
||||||
|
# and stores the result in the variables BASH, CP, GZIP, MV, RM, and TAR.
|
||||||
|
|
||||||
#=============================================================================
|
#=============================================================================
|
||||||
# Copyright 2001-2009 Kitware, Inc.
|
# Copyright 2001-2014 Kitware, Inc.
|
||||||
#
|
#
|
||||||
# Distributed under the OSI-approved BSD License (the "License");
|
# Distributed under the OSI-approved BSD License (the "License");
|
||||||
# see accompanying file Copyright.txt for details.
|
# see accompanying file Copyright.txt for details.
|
||||||
|
@ -95,3 +96,8 @@ find_program(TAR
|
||||||
mark_as_advanced(
|
mark_as_advanced(
|
||||||
TAR
|
TAR
|
||||||
)
|
)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
|
||||||
|
find_package_handle_standard_args(UnixCommands
|
||||||
|
REQUIRED_VARS BASH CP GZIP MV RM TAR
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue