summaryrefslogtreecommitdiffstats
path: root/Modules/BundleUtilities.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-10-19 14:00:29 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-10-19 14:00:29 (GMT)
commit31b6825bd2bfea564315ccf6f275023e15e9af06 (patch)
treeed0d1628857f295268bbdf07012e8711996efb12 /Modules/BundleUtilities.cmake
parent15bbff05818607a8287ab5d4584428ec331005ee (diff)
parent1771ec85b6475c10566026ad7813eb74f732d507 (diff)
downloadCMake-31b6825bd2bfea564315ccf6f275023e15e9af06.zip
CMake-31b6825bd2bfea564315ccf6f275023e15e9af06.tar.gz
CMake-31b6825bd2bfea564315ccf6f275023e15e9af06.tar.bz2
Merge branch 'master' into deployqt4-cmp0080-fix
Diffstat (limited to 'Modules/BundleUtilities.cmake')
-rw-r--r--Modules/BundleUtilities.cmake7
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake
index 613ba1a..6940352 100644
--- a/Modules/BundleUtilities.cmake
+++ b/Modules/BundleUtilities.cmake
@@ -225,11 +225,8 @@ external file causes this function to fail the verification.
#]=======================================================================]
function(_warn_cmp0080)
- message(AUTHOR_WARNING
- "Policy CMP0080 is not set: BundleUtilities prefers not to be included at configure time. "
- "Run \"cmake --help-policy CMP0080\" for policy details. "
- "Use the cmake_policy command to set the policy and suppress this warning."
- )
+ cmake_policy(GET_WARNING CMP0080 _cmp0080_warning)
+ message(AUTHOR_WARNING "${_cmp0080_warning}\n")
endfunction()
# Do not include this module at configure time!