mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
acc2fb6cce
* Remove dependencies to bzip2 and zlib. They are used only by pcre2grep which we don't build in the port. * Fix CMake integration. The patch has been submitted upstream in PCRE2Project/pcre2#260. * Add a usage file and use `vcpkg_install_copyright`. * Bring back patching pcre2.h. * Bump port version. * Update version database. * Fix CRLF damage. * Fix target capitalization. * Update version database. --------- Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
7 lines
304 B
Plaintext
7 lines
304 B
Plaintext
The package pcre2 is compatible with built-in CMake targets:
|
|
|
|
# Each component imports a target:
|
|
# TARGETS: PCRE2::8BIT PCRE2::16BIT PCRE2::32BIT PCRE2::POSIX
|
|
find_package(pcre2 CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE PCRE2::8BIT PCRE2::16BIT PCRE2::32BIT PCRE2::POSIX)
|