mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-09-26 19:13:54 +00:00
Bundle pinned offline dependencies, remove libcork/libipset and submodule requirements, and add portable runtime helpers with relocatable static/shared library installations.
Add Clang static build validation for Linux/musl, macOS and Windows, real TCP/UDP and SIP003 interoperability coverage, and recorded performance tradeoffs. All 21 hosted checks pass at the reviewed PR head 8d504e6218.
7 lines
294 B
CMake
7 lines
294 B
CMake
find_path(PCRE2_INCLUDE_DIR NAMES pcre2.h)
|
|
find_library(PCRE2_LIBRARY NAMES pcre2-8)
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(PCRE2 REQUIRED_VARS PCRE2_INCLUDE_DIR PCRE2_LIBRARY)
|
|
set(PCRE2_INCLUDE_DIRS ${PCRE2_INCLUDE_DIR})
|
|
set(PCRE2_LIBRARIES ${PCRE2_LIBRARY})
|