mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 06:19:06 +08:00
15 lines
624 B
CMake
15 lines
624 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)
|
||
|
set(KHRONOS_STATIC "")
|
||
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||
|
set(KHRONOS_STATIC "-DKHRONOS_STATIC")
|
||
|
endif()
|
||
|
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()
|
||
|
endif()
|