mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
8dce7dafcf
The set-cursor patch is taken from: <https://github.com/Admicos/minecraft-wayland/pull/56> And other changes including fractional scaling is already upstreamed in 3.4 thus not needed anymore. Co-authored-by: oxalica <oxalicc@pm.me> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
19 lines
705 B
Diff
19 lines
705 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,13 @@ 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_Xkb_LIB}
|
|
+ ${X11_Xcursor_LIB}
|
|
+ ${X11_Xi_LIB}
|
|
+ ${X11_Xshape_LIB})
|
|
endif()
|
|
|
|
if (UNIX AND NOT APPLE)
|