Removed policy CMP0026 from PCRE2 CMakeLists.txt

Similar to commit c798961f211cd4435087bd4e005e9b89f3ec325d.
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:
Esa Korhonen
2017-05-29 15:58:04 +03:00
parent 36af74cb25
commit 152c0950ef

View File

@ -84,7 +84,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