From d15e40a4fc3aebabbb76bea49dc04d14aebb7a48 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 17 Apr 2012 17:46:55 -0700 Subject: fcd: better fix for linker issue --- gr-fcd/lib/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gr-fcd/lib') diff --git a/gr-fcd/lib/CMakeLists.txt b/gr-fcd/lib/CMakeLists.txt index a2f5b457d..9a5605d99 100644 --- a/gr-fcd/lib/CMakeLists.txt +++ b/gr-fcd/lib/CMakeLists.txt @@ -63,5 +63,10 @@ endif() add_library(gnuradio-fcd SHARED ${gr_fcd_sources}) -target_link_libraries(gnuradio-fcd ${fcd_libs} rt) +if (LINUX) + list(APPEND fcd_libs rt) +endif() +target_link_libraries(gnuradio-fcd ${fcd_libs}) + + GR_LIBRARY_FOO(gnuradio-fcd RUNTIME_COMPONENT "fcd_runtime" DEVEL_COMPONENT "fcd_devel") -- cgit