2018-07-01 12:05:51 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/OpenGL-Registry
|
2020-04-27 22:49:37 +08:00
|
|
|
REF 4594c03239fb76580bc5d5a13acb2a8f563f0158
|
|
|
|
SHA512 c005a4eb7e5c17002647e7762ae1a7ecba0d0780a62d66f1afd3b7f45c1ca49bd5a069ab0fabb94de3ec971604586457932941fa8eb924cf5ac3a959d8f5f146
|
2018-07-01 12:05:51 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY ${SOURCE_PATH}/api/GL DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
2020-04-07 05:49:51 +08:00
|
|
|
file(COPY ${SOURCE_PATH}/api/GLES DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
file(COPY ${SOURCE_PATH}/api/GLES2 DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
file(COPY ${SOURCE_PATH}/api/GLES3 DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
file(COPY ${SOURCE_PATH}/api/GLSC DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|
|
|
file(COPY ${SOURCE_PATH}/api/GLSC2 DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
2018-11-17 10:19:03 +08:00
|
|
|
file(COPY
|
|
|
|
${SOURCE_PATH}/xml/gl.xml
|
|
|
|
${SOURCE_PATH}/xml/glx.xml
|
|
|
|
${SOURCE_PATH}/xml/wgl.xml
|
2020-04-27 22:49:37 +08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
2018-11-17 10:19:03 +08:00
|
|
|
)
|
2018-07-01 12:05:51 +08:00
|
|
|
|
|
|
|
# Using the Makefile because it is the smallest file with a complete copy of the license text
|
|
|
|
file(
|
|
|
|
INSTALL ${SOURCE_PATH}/xml/Makefile
|
2020-04-27 22:49:37 +08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
|
2018-07-01 12:05:51 +08:00
|
|
|
RENAME copyright
|
|
|
|
)
|