aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pcre2/usage
blob: a23aadd334e63fb38ccedb9b699666ff2671aafd (plain)
1
2
3
4
5
6
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)