diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-11-16 14:22:37 (GMT) |
---|---|---|
committer | Christian Pfeiffer <cpfeiffer@live.de> | 2017-11-16 14:22:37 (GMT) |
commit | 36cc43788a9b74d5a23d298850bed07f2ccbe45c (patch) | |
tree | 58cf452db3598180368875190371fa4d2bfbb767 /Modules/FindOpenMP.cmake | |
parent | bd863785dbc210f97ffecd7c4fcf65b526d4e52d (diff) | |
download | CMake-36cc43788a9b74d5a23d298850bed07f2ccbe45c.zip CMake-36cc43788a9b74d5a23d298850bed07f2ccbe45c.tar.gz CMake-36cc43788a9b74d5a23d298850bed07f2ccbe45c.tar.bz2 |
FindOpenMP: Enable policy CMP0012
Fixes: #17476
Diffstat (limited to 'Modules/FindOpenMP.cmake')
-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 489476b..3072aa3 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 CMP0012 NEW) # if() recognizes numbers and booleans cmake_policy(SET CMP0054 NEW) # if() quoted variables not dereferenced cmake_policy(SET CMP0057 NEW) # if IN_LIST |