This commit is contained in:
Nguyễn Gia Phong 2021-12-02 09:12:11 -08:00 committed by GitHub
commit a4521ff21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)