aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pcre2/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/pcre2/usage')
-rw-r--r--vcpkg/ports/pcre2/usage6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcpkg/ports/pcre2/usage b/vcpkg/ports/pcre2/usage
new file mode 100644
index 0000000..a23aadd
--- /dev/null
+++ b/vcpkg/ports/pcre2/usage
@@ -0,0 +1,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)