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/egl/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/egl/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/egl/portfile.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/egl/portfile.cmake b/vcpkg/ports/egl/portfile.cmake new file mode 100644 index 0000000..fa9fc8f --- /dev/null +++ b/vcpkg/ports/egl/portfile.cmake @@ -0,0 +1,11 @@ +set(VCPKG_POLICY_EMPTY_PACKAGE enabled) + +configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/egl/vcpkg-cmake-wrapper.cmake" @ONLY) + +if(VCPKG_TARGET_IS_WINDOWS) + configure_file("${CMAKE_CURRENT_LIST_DIR}/egl.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/egl.pc" @ONLY) + if (NOT VCPKG_BUILD_TYPE) + configure_file("${CMAKE_CURRENT_LIST_DIR}/egl.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/egl.pc" @ONLY) + endif() + vcpkg_fixup_pkgconfig() +endif() |