Removed no-op librt illogic.

This commit is contained in:
Camilla Berglund 2015-05-14 16:11:18 +02:00
parent 6b232bd8f6
commit b4f3adb6ee

View File

@ -248,9 +248,6 @@ if (_GLFW_X11)
# Set up library and include paths # Set up library and include paths
list(APPEND glfw_INCLUDE_DIRS "${X11_X11_INCLUDE_PATH}") list(APPEND glfw_INCLUDE_DIRS "${X11_X11_INCLUDE_PATH}")
list(APPEND glfw_LIBRARIES "${X11_X11_LIB}" "${CMAKE_THREAD_LIBS_INIT}") 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) # Check for XRandR (modern resolution switching and gamma control)
if (NOT X11_Xrandr_FOUND) if (NOT X11_Xrandr_FOUND)