Commit a33653ee authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-12473 - fix rocksdb linking error

link rocksdb with librt, for clock_gettime()
parent 85da56bf
...@@ -132,7 +132,7 @@ find_package(Threads REQUIRED) ...@@ -132,7 +132,7 @@ find_package(Threads REQUIRED)
if(WIN32) if(WIN32)
set(SYSTEM_LIBS ${SYSTEM_LIBS} Shlwapi.lib Rpcrt4.lib) set(SYSTEM_LIBS ${SYSTEM_LIBS} Shlwapi.lib Rpcrt4.lib)
else() else()
set(SYSTEM_LIBS ${CMAKE_THREAD_LIBS_INIT}) set(SYSTEM_LIBS ${CMAKE_THREAD_LIBS_INIT} ${LIBRT})
endif() endif()
set(ROCKSDB_LIBS rocksdblib}) set(ROCKSDB_LIBS rocksdblib})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment