mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 02:09:01 +08:00
19 lines
639 B
CMake
19 lines
639 B
CMake
|
include(vcpkg_common_functions)
|
||
|
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO KhronosGroup/OpenGL-Registry
|
||
|
REF e18e52a14e902a9ee29c5bf87478ac2ca21bb06b
|
||
|
SHA512 3b883115e138178984a751ee314b0589a7a20db3bc7cff96fa0b886be1779c24031ce65847386aa2d4f42823b1597edccc5a9afc0aef42fea8611a44d2ca5df6
|
||
|
HEAD_REF master
|
||
|
)
|
||
|
|
||
|
file(COPY ${SOURCE_PATH}/api/GL DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||
|
|
||
|
# Using the Makefile because it is the smallest file with a complete copy of the license text
|
||
|
file(
|
||
|
INSTALL ${SOURCE_PATH}/xml/Makefile
|
||
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/opengl-registry
|
||
|
RENAME copyright
|
||
|
)
|