[pcre-dev] [Bug 2785] CMake: static library with PIC, CMake…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 2785] New: CMake: static library with PIC and CMake config files
Subject: [pcre-dev] [Bug 2785] CMake: static library with PIC, CMake config files and build static and shared library in one go
https://bugs.exim.org/show_bug.cgi?id=2785

--- Comment #5 from Philip Hazel <Philip.Hazel@???> ---
I have installed your modifications and committed the result. When testing on
Linux I received the following message from CMake 3.20.0:

CMake Deprecation Warning at CMakeLists.txt:104 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

Is another small tweak to CMakeLists.txt needed? I also noticed that your
comment about renaming the static lib by adding -static does not seem to apply
to Linux. Is this just an MSVC thing? (I put a comment to this effect into
ChangeLog.)

--
You are receiving this mail because:
You are on the CC list for the bug.