2018-07-01 12:05:51 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/EGL-Registry
|
2021-11-26 17:17:11 +08:00
|
|
|
REF 992aa3914f8fea801b1034c992db389911d9f3c3
|
|
|
|
SHA512 75524ed23066e856f080f6551a6c7b6573d13ff7b4555594e2987e1e6a38ba13042d5037d56d656048e83c0b4ff002b5badacf9224516f9f5e521d4af653805a
|
2018-07-01 12:05:51 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
file(
|
|
|
|
COPY
|
2021-11-26 17:17:11 +08:00
|
|
|
"${SOURCE_PATH}/api/KHR"
|
|
|
|
"${SOURCE_PATH}/api/EGL"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
2018-07-01 12:05:51 +08:00
|
|
|
)
|
|
|
|
|
2018-11-17 10:19:03 +08:00
|
|
|
file(
|
|
|
|
COPY
|
2021-11-26 17:17:11 +08:00
|
|
|
"${SOURCE_PATH}/api/egl.xml"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl"
|
2018-11-17 10:19:03 +08:00
|
|
|
)
|
|
|
|
|
2018-07-01 12:05:51 +08:00
|
|
|
file(
|
2021-11-26 17:17:11 +08:00
|
|
|
INSTALL "${SOURCE_PATH}/sdk/docs/man/copyright.xml"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
|
2018-07-01 12:05:51 +08:00
|
|
|
RENAME copyright
|
|
|
|
)
|
2022-10-12 16:21:25 +08:00
|
|
|
|
|
|
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" "${CURRENT_PACKAGES_DIR}/share/egl/vcpkg-cmake-wrapper.cmake" @ONLY)
|