From: Andreas Beckmann Date: Wed, 8 Dec 2021 23:45:45 +0000 (+0100) Subject: [PATCH 118/144] cmake policy CMP0025 was introduced in CMake 3.0 X-Git-Tag: archive/raspbian/1.8-3+rpi1^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7cee8196077f4309892f5b266a8ac524fc56417c;p=pocl.git [PATCH 118/144] cmake policy CMP0025 was introduced in CMake 3.0 Gbp-Pq: Name 0118-cmake-policy-CMP0025-was-introduced-in-CMake-3.0.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 0531479..ba06c79 100644 --- 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)