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/oscpack/usage | |
Diffstat (limited to 'vcpkg/ports/oscpack/usage')
| -rw-r--r-- | vcpkg/ports/oscpack/usage | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/ports/oscpack/usage b/vcpkg/ports/oscpack/usage new file mode 100644 index 0000000..2f318be --- /dev/null +++ b/vcpkg/ports/oscpack/usage @@ -0,0 +1,10 @@ +oscpack can be used from CMake via: + + find_path(OSCPACK_INCLUDE_DIRS "osc" PATH_SUFFIXES "oscpack") + find_library(OSCPACK_LIBRARY oscpack REQUIRED) + target_include_directories(main PRIVATE ${OSCPACK_INCLUDE_DIRS}) + target_link_libraries(main PRIVATE ${OSCPACK_LIBRARY}) + +In case of Windows static link in addition: + + target_link_libraries(main PRIVATE ws2_32 winmm) |