Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

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)