diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-11-17 12:20:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-17 12:20:37 (GMT) |
commit | 8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e (patch) | |
tree | e505ba7be94defcd91cb6276f4b6cf675f66fbe8 /Modules/FindOpenMP.cmake | |
parent | 89fa46e29b27398808026950ae60956b648d4312 (diff) | |
parent | 36cc43788a9b74d5a23d298850bed07f2ccbe45c (diff) | |
download | CMake-8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e.zip CMake-8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e.tar.gz CMake-8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e.tar.bz2 |
Merge topic 'fomp-cmp0012'
36cc4378 FindOpenMP: Enable policy CMP0012
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1490
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 a6eba6e..893ddc6 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 |