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.
This commit is contained in:
Markus Makela 2015-10-27 20:55:32 +02:00
parent 08edfe3d6e
commit c798961f21

View File

@ -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