aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch')
-rw-r--r--vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch b/vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch
new file mode 100644
index 0000000..e6fb164
--- /dev/null
+++ b/vcpkg/ports/glbinding/0004_fix-config-expected-paths.patch
@@ -0,0 +1,35 @@
+diff --git a/glbinding-config.cmake b/glbinding-config.cmake
+index 03fc505..01b6cc8 100644
+--- a/glbinding-config.cmake
++++ b/glbinding-config.cmake
+@@ -1,7 +1,7 @@
+
+ # This config script tries to locate the project either in its source tree
+ # or from an install location.
+-#
++#
+ # Please adjust the list of submodules to search for.
+
+
+@@ -35,20 +35,11 @@ endmacro()
+
+ # Try install location
+ set(MODULE_FOUND FALSE)
+-find_modules("cmake")
++find_modules(".")
+
+ if(MODULE_FOUND)
+ return()
+ endif()
+
+-# Try common build locations
+-if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
+- find_modules("build-debug/cmake")
+- find_modules("build/cmake")
+-else()
+- find_modules("build/cmake")
+- find_modules("build-debug/cmake")
+-endif()
+-
+ # Signal success/failure to CMake
+ set(glbinding_FOUND ${MODULE_FOUND})