mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
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)
|