mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 11:21:47 +08:00
5ed17f6b22
* [egl] Use vcpkg_fixup_pkgconfig * Mingw uses lower case filenames * Document what is wrapped * Do backup before modification * Windows EGL_LIBRARY is unofficial::angle::libEGL * Update versions
12 lines
518 B
CMake
12 lines
518 B
CMake
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()
|