File tree Expand file tree Collapse file tree 6 files changed +79
-0
lines changed Expand file tree Collapse file tree 6 files changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ index 6f70f493..7d7828b4 100644
3+ --- a/CMakeLists.txt
4+ +++ b/CMakeLists.txt
5+ @@ -1,4 +1,4 @@
6+ - cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
7+ + cmake_minimum_required(VERSION 3.15)
8+ cmake_policy(SET CMP0054 NEW)
9+
10+ project(gli)
Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ index 6eb1a68..610c0bc 100644
3+ --- a/CMakeLists.txt
4+ +++ b/CMakeLists.txt
5+ @@ -71,7 +71,7 @@ endmacro(addExternalPackageGTC)
6+ # Add subdirectory
7+
8+ add_subdirectory(gli)
9+ - add_subdirectory(test)
10+ + #add_subdirectory(test)
11+ #add_subdirectory(doc)
12+
13+ ################################
Original file line number Diff line number Diff line change 1+ #header-only library
2+
3+ vcpkg_from_github(
4+ OUT_SOURCE_PATH SOURCE_PATH
5+ REPO g-truc/gli
6+ REF 779b99ac6656e4d30c3b24e96e0136a59649a869
7+ SHA512 6e7ab46b7943cb185c8c1f6e45b765f5463e03628973043a0e8b866458ccceb5249f69a2a77b5e69c73f3ace85af96c7b9b2137685ceb6d0fcb67e491a49be69
8+ HEAD_REF master
9+ PATCHES
10+ bump-cmake-version .patch
11+ disable-test .patch
12+ )
13+
14+ vcpkg_cmake_configure(
15+ SOURCE_PATH "${SOURCE_PATH} "
16+ )
17+
18+ vcpkg_cmake_install()
19+
20+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/gli)
21+
22+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /debug" )
23+ file (REMOVE_RECURSE "${CURRENT_PACKAGES_DIR} /lib" )
24+ file (REMOVE "${CURRENT_PACKAGES_DIR} /include/gli/CMakeLists.txt" )
25+
26+ # Put the license file where vcpkg expects it
27+ # manual.md contains the "licenses" section for the project
28+ file (INSTALL "${SOURCE_PATH} /manual.md" DESTINATION "${CURRENT_PACKAGES_DIR} /share/${PORT} " RENAME copyright)
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " gli" ,
3+ "version-date" : " 2021-07-06" ,
4+ "port-version" : 3 ,
5+ "description" : " OpenGL Image (GLI)" ,
6+ "homepage" : " https://gli.g-truc.net" ,
7+ "dependencies" : [
8+ " glm" ,
9+ {
10+ "name" : " vcpkg-cmake" ,
11+ "host" : true
12+ },
13+ {
14+ "name" : " vcpkg-cmake-config" ,
15+ "host" : true
16+ }
17+ ]
18+ }
Original file line number Diff line number Diff line change 44 },
55 "2025-01-19" : {
66 "glfw3" : { "baseline" : " 3.4" , "port-version" : 1 },
7+ "gli" : { "baseline" : " 2021-07-06" , "port-version" : 3 },
78 "luajit" : { "baseline" : " 2023-04-16" , "port-version" : 1 }
89 }
910}
Original file line number Diff line number Diff line change 1+ {
2+ "versions" : [
3+ {
4+ "version-date" : " 2021-07-06" ,
5+ "port-version" : 3 ,
6+ "path" : " $/ports/gli/2021-07-06_3"
7+ }
8+ ]
9+ }
You can’t perform that action at this time.
0 commit comments