diff options
author | Brad King <brad.king@kitware.com> | 2017-09-25 12:55:57 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-25 12:56:00 (GMT) |
commit | bb535bedc0ec95c046ef8685bd3c7877249cc55e (patch) | |
tree | 4e7c902ffcaf49610bf8de943ef7ee2f4c2ffbe9 /Modules | |
parent | 6d20eda21a539839f7c1ccd3f70700a0123ad8b1 (diff) | |
parent | dd5324ab1e68d745e0e83e0d0fe75fd5c9774bfa (diff) | |
download | CMake-bb535bedc0ec95c046ef8685bd3c7877249cc55e.zip CMake-bb535bedc0ec95c046ef8685bd3c7877249cc55e.tar.gz CMake-bb535bedc0ec95c046ef8685bd3c7877249cc55e.tar.bz2 |
Merge topic 'FindOpenMP-CMP0054'
dd5324ab FindOpenMP: Avoid CMP0054 warnings
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1303
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenMP.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index 4a3edf9..595b0b3 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -75,6 +75,7 @@ # the OpenMP specification implemented by the ``<lang>`` compiler. cmake_policy(PUSH) +cmake_policy(SET CMP0054 NEW) # if() quoted variables not dereferenced cmake_policy(SET CMP0057 NEW) # if IN_LIST function(_OPENMP_FLAG_CANDIDATES LANG) |