diff --git a/CMakeLists.txt b/CMakeLists.txt index d1ae56f3..bb473c4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -248,9 +248,6 @@ if (_GLFW_X11) # Set up library and include paths list(APPEND glfw_INCLUDE_DIRS "${X11_X11_INCLUDE_PATH}") list(APPEND glfw_LIBRARIES "${X11_X11_LIB}" "${CMAKE_THREAD_LIBS_INIT}") - if (UNIX AND NOT APPLE) - list(APPEND glfw_LIBRARIES "${RT_LIBRARY}") - endif() # Check for XRandR (modern resolution switching and gamma control) if (NOT X11_Xrandr_FOUND)