aboutsummaryrefslogtreecommitdiff
path: root/ports/opengl-registry
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-11-16 18:19:03 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-11-20 15:47:14 -0800
commit35ea46995b6a3b384b4a76d613ac29d7d001b51a (patch)
treef5a3f8f54d46051343cd3429b456f08d437dfebf /ports/opengl-registry
parent9eab773b8fe7ae7700d77b686836c093fdfdeb31 (diff)
downloadvcpkg-35ea46995b6a3b384b4a76d613ac29d7d001b51a.tar.gz
vcpkg-35ea46995b6a3b384b4a76d613ac29d7d001b51a.zip
[glad] Use registry ports instead of vendored copies
Diffstat (limited to 'ports/opengl-registry')
-rw-r--r--ports/opengl-registry/CONTROL2
-rw-r--r--ports/opengl-registry/portfile.cmake6
2 files changed, 7 insertions, 1 deletions
diff --git a/ports/opengl-registry/CONTROL b/ports/opengl-registry/CONTROL
index 0d9844ed7..1a3635c35 100644
--- a/ports/opengl-registry/CONTROL
+++ b/ports/opengl-registry/CONTROL
@@ -1,4 +1,4 @@
Source: opengl-registry
-Version: 2018-06-30
+Version: 2018-06-30-1
Build-Depends: egl-registry
Description: the API and Extension registries for the OpenGL family APIs
diff --git a/ports/opengl-registry/portfile.cmake b/ports/opengl-registry/portfile.cmake
index 5e997ac23..7b38b2c07 100644
--- a/ports/opengl-registry/portfile.cmake
+++ b/ports/opengl-registry/portfile.cmake
@@ -9,6 +9,12 @@ vcpkg_from_github(
)
file(COPY ${SOURCE_PATH}/api/GL DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(COPY
+ ${SOURCE_PATH}/xml/gl.xml
+ ${SOURCE_PATH}/xml/glx.xml
+ ${SOURCE_PATH}/xml/wgl.xml
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/opengl-registry
+)
# Using the Makefile because it is the smallest file with a complete copy of the license text
file(