mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Merge 063799a116
into 5bcf9c76fd
This commit is contained in:
commit
adfde1bc86
@ -198,12 +198,14 @@ endif()
|
|||||||
# Find and add Unix math and time libraries
|
# Find and add Unix math and time libraries
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
if (UNIX AND NOT APPLE)
|
if (UNIX AND NOT APPLE)
|
||||||
|
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
find_library(RT_LIBRARY rt)
|
find_library(RT_LIBRARY rt)
|
||||||
mark_as_advanced(RT_LIBRARY)
|
mark_as_advanced(RT_LIBRARY)
|
||||||
if (RT_LIBRARY)
|
if (RT_LIBRARY)
|
||||||
list(APPEND glfw_LIBRARIES "${RT_LIBRARY}")
|
list(APPEND glfw_LIBRARIES "${RT_LIBRARY}")
|
||||||
list(APPEND glfw_PKG_LIBS "-lrt")
|
list(APPEND glfw_PKG_LIBS "-lrt")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
find_library(MATH_LIBRARY m)
|
find_library(MATH_LIBRARY m)
|
||||||
mark_as_advanced(MATH_LIBRARY)
|
mark_as_advanced(MATH_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user