[Cmake-commits] CMake branch, master, updated. v3.10.0-rc5-342-g8e6d633

Kitware Robot kwrobot at kitware.com
Fri Nov 17 07:25:18 EST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e (commit)
       via  36cc43788a9b74d5a23d298850bed07f2ccbe45c (commit)
      from  89fa46e29b27398808026950ae60956b648d4312 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e
commit 8e6d6337cdfa62dd5412057c6dcb6d7c23709f6e
Merge: 89fa46e 36cc437
Author:     Christian Pfeiffer <cpfeiffer at live.de>
AuthorDate: Fri Nov 17 12:20:24 2017 +0000
Commit:     Kitware Robot <kwrobot at kitware.com>
CommitDate: Fri Nov 17 07:20:37 2017 -0500

    Merge topic 'fomp-cmp0012'
    
    36cc4378 FindOpenMP: Enable policy CMP0012
    
    Acked-by: Kitware Robot <kwrobot at kitware.com>
    Merge-request: !1490


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=36cc43788a9b74d5a23d298850bed07f2ccbe45c
commit 36cc43788a9b74d5a23d298850bed07f2ccbe45c
Author:     Christian Pfeiffer <cpfeiffer at live.de>
AuthorDate: Thu Nov 16 15:22:37 2017 +0100
Commit:     Christian Pfeiffer <cpfeiffer at live.de>
CommitDate: Thu Nov 16 15:22:37 2017 +0100

    FindOpenMP: Enable policy CMP0012
    
    Fixes: #17476

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
 

-----------------------------------------------------------------------

Summary of changes:
 Modules/FindOpenMP.cmake |    1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list