diff --git a/src/SFML/Window/CMakeLists.txt b/src/SFML/Window/CMakeLists.txt index d91b1913..dd9ea084 100644 --- a/src/SFML/Window/CMakeLists.txt +++ b/src/SFML/Window/CMakeLists.txt @@ -280,7 +280,7 @@ if(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_OPENBSD OR SFML_OS_NETBSD) if(SFML_USE_DRM) find_package(DRM 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() find_package(X11 REQUIRED COMPONENTS Xrandr Xcursor) target_link_libraries(sfml-window PRIVATE X11::X11 X11::Xrandr X11::Xcursor)