From c798961f211cd4435087bd4e005e9b89f3ec325d Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Tue, 27 Oct 2015 20:55:32 +0200 Subject: [PATCH] Removed policy CMP0026 from PCRE2 CMakeLists.txt The CMP0026 policy causes the build to fail on CMake 2.8.12 and it isn't critical to the functionality of the library. --- pcre2/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcre2/CMakeLists.txt b/pcre2/CMakeLists.txt index b76a95309..4cf76fd75 100644 --- a/pcre2/CMakeLists.txt +++ b/pcre2/CMakeLists.txt @@ -75,7 +75,7 @@ PROJECT(PCRE2 C) # CMP0026 to avoid warnings for the use of LOCATION in GET_TARGET_PROPERTY. CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0) -CMAKE_POLICY(SET CMP0026 OLD) +#CMAKE_POLICY(SET CMP0026 OLD) SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # for FindReadline.cmake