mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Remove nonexistent link library
This commit is contained in:
parent
f0e72be285
commit
3b71bfc1d7
@ -280,7 +280,7 @@ if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD)
|
|||||||
if(SFML_USE_DRM)
|
if(SFML_USE_DRM)
|
||||||
find_package(DRM REQUIRED)
|
find_package(DRM REQUIRED)
|
||||||
find_package(GBM REQUIRED)
|
find_package(GBM REQUIRED)
|
||||||
target_link_libraries(sfml-window PRIVATE DRM::DRM GBM::GBM EGL)
|
target_link_libraries(sfml-window PRIVATE DRM::DRM GBM::GBM)
|
||||||
else()
|
else()
|
||||||
find_package(X11 REQUIRED COMPONENTS Xrandr Xcursor)
|
find_package(X11 REQUIRED COMPONENTS Xrandr Xcursor)
|
||||||
target_link_libraries(sfml-window PRIVATE X11::X11 X11::Xrandr X11::Xcursor)
|
target_link_libraries(sfml-window PRIVATE X11::X11 X11::Xrandr X11::Xcursor)
|
||||||
|
Loading…
Reference in New Issue
Block a user