vcpkg/ports/egl-registry/portfile.cmake
Alexander Neumann e4e97557c7
[opengl/egl-registry] update and add pc file (#21651)
* [egl-registry] update

* [opengl-registry] update + pc file

* [glad] update due to new opengl spec layout

* fix hash

* version stuff

* push glad to port verison 3

* version stuff

* fix version

* use glob for opengl-registry installation.

* version stuff

* Apply suggestions from code review

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* version stuff

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-11-26 01:17:11 -08:00

27 lines
673 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/EGL-Registry
REF 992aa3914f8fea801b1034c992db389911d9f3c3
SHA512 75524ed23066e856f080f6551a6c7b6573d13ff7b4555594e2987e1e6a38ba13042d5037d56d656048e83c0b4ff002b5badacf9224516f9f5e521d4af653805a
HEAD_REF master
)
file(
COPY
"${SOURCE_PATH}/api/KHR"
"${SOURCE_PATH}/api/EGL"
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)
file(
COPY
"${SOURCE_PATH}/api/egl.xml"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/opengl"
)
file(
INSTALL "${SOURCE_PATH}/sdk/docs/man/copyright.xml"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)