diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-10-19 14:00:29 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2018-10-19 14:00:29 (GMT) |
commit | 31b6825bd2bfea564315ccf6f275023e15e9af06 (patch) | |
tree | ed0d1628857f295268bbdf07012e8711996efb12 /Modules/BundleUtilities.cmake | |
parent | 15bbff05818607a8287ab5d4584428ec331005ee (diff) | |
parent | 1771ec85b6475c10566026ad7813eb74f732d507 (diff) | |
download | CMake-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.cmake | 7 |
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! |