From 995a195f4d41e343781a4da267b960a6d6eab670 Mon Sep 17 00:00:00 2001 From: Kyle Keen Date: Wed, 24 Oct 2012 17:31:22 +0200 Subject: rtl_test: add ppm measurement Use with caution, the result highly depends on the accuracy of the clocksource your machine uses. On some machines it may be quite accurate, on others completely off. Signed-off-by: Steve Markgraf --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index baeb96f..5b078a2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -94,6 +94,11 @@ target_link_libraries(rtl_fm rtlsdr_shared ${CMAKE_THREAD_LIBS_INIT} m ) +if(APPLE) + target_link_libraries(rtl_test m) +else() + target_link_libraries(rtl_test m rt) +endif() endif() if(WIN32) -- cgit v1.3.1