diff --git a/CMakeLists.txt b/CMakeLists.txt index 91d1741..c139c2c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,11 +97,13 @@ # 2021-06-29 JWSB added the option to build static library with PIC. # 2021-07-05 JWSB modified such both the static and shared library can be # build in one go. +# 2021-08-28 PH increased minimum version PROJECT(PCRE2 C) # Increased minimum to 2.8.5 to support GNUInstallDirs. -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.5) +# Increased minimum to 3.0.0 because older than 2.8.12 is deprecated. +CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0) # Set policy CMP0026 to avoid warnings for the use of LOCATION in # GET_TARGET_PROPERTY. This should no longer be required. diff --git a/ChangeLog b/ChangeLog index 96a85da..c320fde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,7 +31,11 @@ Building static and shared libraries using MSVC results in a name clash of the libraries. Both static and shared library builds create, for example, the file pcre2-8.lib. Therefore, I decided to change the static library names by adding "-static". For example, pcre2-8.lib has become pcre2-8-static.lib. -[Comment by PH: this seems to be MSVC-specific. It doesn't happen on Linux.] +[Comment by PH: this is MSVC-specific. It doesn't happen on Linux.] + +3. Increased the minimum release number for CMake to 3.0.0 because older than +2.8.12 is deprecated (it was set to 2.8.5) and causes warnings. Even 3.0.0 is +quote old; it was released in 2014.