DYT/Tool/OpenSceneGraph-3.6.5/share/pcre2/usage
2024-12-25 07:49:36 +08:00

7 lines
298 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)