Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
22 lines
880 B
Diff
22 lines
880 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index a0be580e..ba143851 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -219,6 +219,16 @@ if (GLFW_BUILD_X11)
|
|
if (NOT X11_Xshape_INCLUDE_PATH)
|
|
message(FATAL_ERROR "X Shape headers not found; install libxext development package")
|
|
endif()
|
|
+
|
|
+ target_link_libraries(glfw PRIVATE ${X11_Xrandr_LIB}
|
|
+ ${X11_Xinerama_LIB}
|
|
+ ${X11_X11_xcb_LIB}
|
|
+ ${X11_Xrender_LIB}
|
|
+ ${X11_Xkb_LIB}
|
|
+ ${X11_Xcursor_LIB}
|
|
+ ${X11_Xi_LIB}
|
|
+ ${X11_Xxf86vm_LIB}
|
|
+ ${X11_Xext_LIB})
|
|
endif()
|
|
|
|
if (UNIX AND NOT APPLE)
|