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:
parent
08edfe3d6e
commit
c798961f21
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user