fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / gl / glfw3 / x11.patch
blob2471814f219fa29c824a7801b437546f4244da02
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,16 @@ 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_X11_xcb_LIB}
13 + ${X11_Xrender_LIB}
14 + ${X11_Xkb_LIB}
15 + ${X11_Xcursor_LIB}
16 + ${X11_Xi_LIB}
17 + ${X11_Xxf86vm_LIB}
18 + ${X11_Xext_LIB})
19 endif()
21 if (UNIX AND NOT APPLE)