diff options
author | Ivan Zhakov <ivan@apache.org> | 2023-01-18 22:20:53 +0100 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2023-01-18 22:20:53 +0100 |
commit | dd4561dd17a669a8c1757ada0ca875dfa840d0e7 (patch) | |
tree | a99a47e2a7c7bfe8a0ae06403bcbf58d2ba5bcc3 | |
parent | *) mod_http2: client resets of HTTP/2 streams led to unwanted 500 errors (diff) | |
download | apache2-dd4561dd17a669a8c1757ada0ca875dfa840d0e7.tar.xz apache2-dd4561dd17a669a8c1757ada0ca875dfa840d0e7.zip |
* CMakeLists.txt: Support building against static version of PCRE2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906778 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e77a70c6e0..39918754dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,12 @@ IF(EXISTS "${CMAKE_INSTALL_PREFIX}/lib/pcre2-8d.lib") ELSEIF(EXISTS "${CMAKE_INSTALL_PREFIX}/lib/pcre2-8.lib") SET(default_pcre_libraries ${CMAKE_INSTALL_PREFIX}/lib/pcre2-8.lib) SET(default_pcre_cflags "-DHAVE_PCRE2") +ELSEIF(EXISTS "${CMAKE_INSTALL_PREFIX}/lib/pcre2-8d-static.lib") + SET(default_pcre_libraries ${CMAKE_INSTALL_PREFIX}/lib/pcre2-8d-static.lib) + SET(default_pcre_cflags "-DHAVE_PCRE2 -DPCRE2_STATIC") +ELSEIF(EXISTS "${CMAKE_INSTALL_PREFIX}/lib/pcre2-8-static.lib") + SET(default_pcre_libraries ${CMAKE_INSTALL_PREFIX}/lib/pcre2-8-static.lib) + SET(default_pcre_cflags "-DHAVE_PCRE2 -DPCRE2_STATIC") ELSEIF(EXISTS "${CMAKE_INSTALL_PREFIX}/lib/pcred.lib") SET(default_pcre_libraries ${CMAKE_INSTALL_PREFIX}/lib/pcred.lib) ELSE() |