projects
/
pocl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f8a24
)
[PATCH 118/144] cmake policy CMP0025 was introduced in CMake 3.0
author
Andreas Beckmann
<anbe@debian.org>
Wed, 8 Dec 2021 23:45:45 +0000
(
00:45
+0100)
committer
Andreas Beckmann
<anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000
(23:55 +0000)
Gbp-Pq: Name 0118-cmake-policy-CMP0025-was-introduced-in-CMake-3.0.patch
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 05314796d228b1480bc0ff9b3949ce39b9b95faf..ba06c792ca9c69ca27696a74e68119e6558a353a 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-38,11
+38,6
@@
else()
set(CMAKE_CXX_STANDARD "${SUPPORTED_CXX_STD_VERSION}")
endif()
-# Fix behavior of CMAKE_CXX_STANDARD when targeting macOS.
-if(POLICY CMP0025)
- cmake_policy(SET CMP0025 NEW)
-endif()
-
include(CheckCCompilerFlag)
include(CPackComponent)
macro(pass_through_cpack_vars)