From e141fba98d926b1c3725aba691c8a5bbf05361c1 Mon Sep 17 00:00:00 2001 From: Gandalf-the-Grey Date: Thu, 12 Jun 2014 02:21:09 -0400 Subject: [PATCH] [gandalf] Fix: failed build on Linux, rt library needed for ntp support. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0dc4d6a..f1e67f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,7 @@ target_include_directories(fc target_link_libraries( fc PUBLIC easylzma_static ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${CMAKE_DL_LIBS}) add_executable( ntp_test ntp_test.cpp ) -target_link_libraries( ntp_test fc ) +target_link_libraries( ntp_test fc ${rt_library} ) #add_executable( test_compress tests/compress.cpp ) #target_link_libraries( test_compress fc )