vcpkg/ports/egl-registry/portfile.cmake
Alexander Neumann 6028fd5e1a
[angle] Improve port (#9965)
* update opengl and install all headers

* improve angle

* update egl-registry

* fix osx regression

* update baseline.

* fix uwp regressions

* fix osx and linux regression

* add encoding patch

* bump glad control

* rechdeck gl visibility from native build

* removed unnecessary commented code

* add GL_VISIBILITY to the exported targets

Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com>
2020-04-06 14:49:51 -07:00

29 lines
705 B
CMake

include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/EGL-Registry
REF aa9b63f3ab18aee92c95786a2478156430f809e4
SHA512 5ee7143c2cb46defbe1b2ecb0fabfb52fac2d9529b98c638dd4c04a312a62e7f7b3aee27d9749c92174ab967d533136b5881ce37ae9f2bee6685f52ffa8c8db6
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/egl-registry
)
file(
INSTALL ${SOURCE_PATH}/sdk/docs/man/copyright.xml
DESTINATION ${CURRENT_PACKAGES_DIR}/share/egl-registry
RENAME copyright
)