ClickHouse/cmake/find_rt.cmake
2018-05-11 03:56:31 +03:00

11 lines
212 B
CMake

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