diff options
author | Brad King <brad.king@kitware.com> | 2017-09-22 17:47:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-22 17:50:35 (GMT) |
commit | dd5324ab1e68d745e0e83e0d0fe75fd5c9774bfa (patch) | |
tree | ebb8853d3a3c3d3f4eeb454dd4633f1c9fe84a03 /Modules/FindCxxTest.cmake | |
parent | 4609aaf513ffd6f253ec7c8a8bca6bb93d7eede5 (diff) | |
download | CMake-dd5324ab1e68d745e0e83e0d0fe75fd5c9774bfa.zip CMake-dd5324ab1e68d745e0e83e0d0fe75fd5c9774bfa.tar.gz CMake-dd5324ab1e68d745e0e83e0d0fe75fd5c9774bfa.tar.bz2 |
FindOpenMP: Avoid CMP0054 warnings
When invoked in projects that don't set CMP0054 to NEW, FindOpenMP
triggers a warning:
CMake Warning (dev) at .../Modules/FindOpenMP.cmake:... (if):
Policy CMP0054 is not set...Quoted variables like "c" will no
longer be dereferenced when the policy is set to NEW. Since
the policy is not set the OLD behavior will be used.
Set the policy within the module's scope to avoid this.
Fixes: #17292
Diffstat (limited to 'Modules/FindCxxTest.cmake')
0 files changed, 0 insertions, 0 deletions