14 lines
743 B
Text
14 lines
743 B
Text
|
-lrt and -ldl not supported on OpenBSD
|
||
|
|
||
|
--- cmake/FindGLFW.cmake.orig Sun Dec 13 23:02:51 2020
|
||
|
+++ cmake/FindGLFW.cmake Sun Dec 13 23:03:33 2020
|
||
|
@@ -174,7 +174,7 @@ else ()
|
||
|
message(FATAL_ERROR "Xi library not found - required for GLFW")
|
||
|
endif()
|
||
|
|
||
|
- list(APPEND GLFW_x11_LIBRARY "${X11_Xrandr_LIB}" "${X11_Xxf86vm_LIB}" "${X11_Xcursor_LIB}" "${X11_Xinerama_LIB}" "${X11_Xi_LIB}" "${X11_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}" -lrt -ldl)
|
||
|
+ list(APPEND GLFW_x11_LIBRARY "${X11_Xrandr_LIB}" "${X11_Xxf86vm_LIB}" "${X11_Xcursor_LIB}" "${X11_Xinerama_LIB}" "${X11_Xi_LIB}" "${X11_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
|
||
|
endif (NOT NO_GLFW_X11)
|
||
|
|
||
|
find_library( GLFW_glfw_LIBRARY
|