Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 2index 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() 9+ 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() 17 18 if (UNIX AND NOT APPLE)