summaryrefslogtreecommitdiff
path: root/media-gfx/openvdb/files/openvdb-8.0.1-glfw-libdir.patch
blob: 991c5a6a568d86cafb3c98624d4435946e9506ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Custom cmake file used to find GLFW always looks at lib/cmake first
ignoring alternate libdirs and leads to using wrong libraries.
https://bugs.gentoo.org/800200
--- a/cmake/OpenVDBGLFW3Setup.cmake
+++ b/cmake/OpenVDBGLFW3Setup.cmake
@@ -84,5 +84,5 @@
 list(APPEND _GLFW3_ROOT_SEARCH_DIR ${SYSTEM_LIBRARY_PATHS})
 
-set(_GLFW3_PATH_SUFFIXES "lib/cmake/glfw3" "cmake/glfw3" "glfw3")
+set(_GLFW3_PATH_SUFFIXES "cmake/glfw3" "glfw3")
 
 # GLFW 3.1 installs CMake modules into glfw instead of glfw3