early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/gli/disable-test.patch
vendored
Executable file
13
externals/vcpkg/ports/gli/disable-test.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6eb1a68..610c0bc 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -71,7 +71,7 @@ endmacro(addExternalPackageGTC)
|
||||
# Add subdirectory
|
||||
|
||||
add_subdirectory(gli)
|
||||
-add_subdirectory(test)
|
||||
+#add_subdirectory(test)
|
||||
#add_subdirectory(doc)
|
||||
|
||||
################################
|
||||
28
externals/vcpkg/ports/gli/portfile.cmake
vendored
Executable file
28
externals/vcpkg/ports/gli/portfile.cmake
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#header-only library
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO g-truc/gli
|
||||
REF 779b99ac6656e4d30c3b24e96e0136a59649a869
|
||||
SHA512 6e7ab46b7943cb185c8c1f6e45b765f5463e03628973043a0e8b866458ccceb5249f69a2a77b5e69c73f3ace85af96c7b9b2137685ceb6d0fcb67e491a49be69
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
disable-test.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gli)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/include/gli/CMakeLists.txt)
|
||||
|
||||
# Put the license file where vcpkg expects it
|
||||
# manual.md contains the "licenses" section for the project
|
||||
file(INSTALL ${SOURCE_PATH}/manual.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
9
externals/vcpkg/ports/gli/vcpkg.json
vendored
Executable file
9
externals/vcpkg/ports/gli/vcpkg.json
vendored
Executable file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "gli",
|
||||
"version-date": "2021-07-06",
|
||||
"description": "OpenGL Image (GLI)",
|
||||
"homepage": "https://gli.g-truc.net",
|
||||
"dependencies": [
|
||||
"glm"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user