ClickHouse/cmake/find/rt.cmake
2019-09-13 17:54:22 +03:00

11 lines
210 B
CMake

if (APPLE)
# lib from libs/libcommon
set (RT_LIBRARY "apple_rt")
elseif (OS_FREEBSD)
find_library (RT_LIBRARY rt)
else ()
set (RT_LIBRARY "")
endif ()
message(STATUS "Using rt: ${RT_LIBRARY}")