diff options
| -rw-r--r-- | ports/glbinding/CONTROL | 5 | ||||
| -rw-r--r-- | ports/glbinding/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/glbinding/usage | 4 | ||||
| -rw-r--r-- | ports/glbinding/vcpkg.json | 10 |
4 files changed, 15 insertions, 5 deletions
diff --git a/ports/glbinding/CONTROL b/ports/glbinding/CONTROL deleted file mode 100644 index 5bef7210a..000000000 --- a/ports/glbinding/CONTROL +++ /dev/null @@ -1,5 +0,0 @@ -Source: glbinding -Version: 3.1.0-2 -Description: glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API -Homepage: https://github.com/cginternals/glbinding -Build-Depends: egl-registry diff --git a/ports/glbinding/portfile.cmake b/ports/glbinding/portfile.cmake index 78484437b..6aa2e4e39 100644 --- a/ports/glbinding/portfile.cmake +++ b/ports/glbinding/portfile.cmake @@ -56,3 +56,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/KHR) # Handle copyright file(RENAME ${CURRENT_PACKAGES_DIR}/share/glbinding/LICENSE ${CURRENT_PACKAGES_DIR}/share/glbinding/copyright) +configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/glbinding/usage @ONLY) diff --git a/ports/glbinding/usage b/ports/glbinding/usage new file mode 100644 index 000000000..010a5c6da --- /dev/null +++ b/ports/glbinding/usage @@ -0,0 +1,4 @@ +The package glbinding:@TARGET_TRIPLET@ provides CMake targets:
+
+ find_package(glbinding CONFIG REQUIRED)
+ target_link_libraries(main PRIVATE glbinding::glbinding glbinding::glbinding-aux)
diff --git a/ports/glbinding/vcpkg.json b/ports/glbinding/vcpkg.json new file mode 100644 index 000000000..4a1330896 --- /dev/null +++ b/ports/glbinding/vcpkg.json @@ -0,0 +1,10 @@ +{ + "name": "glbinding", + "version-string": "3.1.0", + "port-version": 3, + "description": "glbinding is an MIT licensed, cross-platform C++ binding for the OpenGL API", + "homepage": "https://github.com/cginternals/glbinding", + "dependencies": [ + "egl-registry" + ] +} |
