aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mdl-sdk/usage
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/mdl-sdk/usage
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/mdl-sdk/usage')
-rw-r--r--vcpkg/ports/mdl-sdk/usage8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcpkg/ports/mdl-sdk/usage b/vcpkg/ports/mdl-sdk/usage
new file mode 100644
index 0000000..b39875f
--- /dev/null
+++ b/vcpkg/ports/mdl-sdk/usage
@@ -0,0 +1,8 @@
+mdl-sdk provides CMake targets:
+
+ find_package(mdl CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE $<COMPILE_ONLY:mdl::mdl_sdk> ${CMAKE_DL_LIBS})
+
+ # Or if you want to use only the MDL Core library:
+ find_package(mdl CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE $<COMPILE_ONLY:mdl::mdl_core> ${CMAKE_DL_LIBS})