From 36cc43788a9b74d5a23d298850bed07f2ccbe45c Mon Sep 17 00:00:00 2001 From: Christian Pfeiffer Date: Thu, 16 Nov 2017 15:22:37 +0100 Subject: FindOpenMP: Enable policy CMP0012 Fixes: #17476 --- Modules/FindOpenMP.cmake | 1 + 1 file changed, 1 insertion(+) 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 ```` 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 -- cgit v0.12