aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/irrlicht/vcpkg-cmake-wrapper.cmake
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/irrlicht/vcpkg-cmake-wrapper.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/irrlicht/vcpkg-cmake-wrapper.cmake')
-rw-r--r--vcpkg/ports/irrlicht/vcpkg-cmake-wrapper.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/irrlicht/vcpkg-cmake-wrapper.cmake b/vcpkg/ports/irrlicht/vcpkg-cmake-wrapper.cmake
new file mode 100644
index 0000000..4cfdb8a
--- /dev/null
+++ b/vcpkg/ports/irrlicht/vcpkg-cmake-wrapper.cmake
@@ -0,0 +1,11 @@
+_find_package(${ARGS})
+find_package(ZLIB REQUIRED)
+find_package(PNG REQUIRED)
+find_package(JPEG REQUIRED)
+find_package(BZip2 REQUIRED)
+if(TARGET Irrlicht::Irrlicht)
+ set_property(TARGET Irrlicht::Irrlicht APPEND PROPERTY INTERFACE_LINK_LIBRARIES ZLIB::ZLIB PNG::PNG JPEG::JPEG BZip2::BZip2)
+endif()
+if(IRRLICHT_LIBRARIES)
+ list(APPEND IRRLICHT_LIBRARIES ${ZLIB_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${BZIP2_LIBRARIES})
+endif()