diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/readline/usage | |
Diffstat (limited to 'vcpkg/ports/readline/usage')
| -rw-r--r-- | vcpkg/ports/readline/usage | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/ports/readline/usage b/vcpkg/ports/readline/usage new file mode 100644 index 0000000..6127e2a --- /dev/null +++ b/vcpkg/ports/readline/usage @@ -0,0 +1,10 @@ +the package readline can be used under windows via:
+
+ find_package(unofficial-readline-win32 CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE unofficial::readline-win32::readline)
+
+The package readline can be imported via the CMake FindPkgConfig module:
+
+ find_package(PkgConfig REQUIRED)
+ pkg_check_modules(readline REQUIRED IMPORTED_TARGET readline)
+ target_link_libraries(main PRIVATE PkgConfig::readline)
|