librewolf: 132.0.1 -> 132.0.1-1 (#355483)
[NixPkgs.git] / pkgs / by-name / gl / glfw3 / x11.patch
blob5cadf53bfe7085770ca03113f75a850174d878a4
1 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2 index a0be580e..ba143851 100644
3 --- a/src/CMakeLists.txt
4 +++ b/src/CMakeLists.txt
5 @@ -219,6 +219,13 @@ if (GLFW_BUILD_X11)
6 if (NOT X11_Xshape_INCLUDE_PATH)
7 message(FATAL_ERROR "X Shape headers not found; install libxext development package")
8 endif()
10 + target_link_libraries(glfw PRIVATE ${X11_Xrandr_LIB}
11 + ${X11_Xinerama_LIB}
12 + ${X11_Xkb_LIB}
13 + ${X11_Xcursor_LIB}
14 + ${X11_Xi_LIB}
15 + ${X11_Xshape_LIB})
16 endif()
18 if (UNIX AND NOT APPLE)