summaryrefslogtreecommitdiff
path: root/gr-fcd/lib
diff options
context:
space:
mode:
authorJosh Blum2012-04-17 17:46:55 -0700
committerJohnathan Corgan2012-04-17 18:03:27 -0700
commitd15e40a4fc3aebabbb76bea49dc04d14aebb7a48 (patch)
treed9107227275b64f2fd2c728c322f9571630b49e4 /gr-fcd/lib
parentfff8e25b2ee677f8748132bc2e03f21832a351cc (diff)
downloadgnuradio-d15e40a4fc3aebabbb76bea49dc04d14aebb7a48.tar.gz
gnuradio-d15e40a4fc3aebabbb76bea49dc04d14aebb7a48.tar.bz2
gnuradio-d15e40a4fc3aebabbb76bea49dc04d14aebb7a48.zip
fcd: better fix for linker issue
Diffstat (limited to 'gr-fcd/lib')
-rw-r--r--gr-fcd/lib/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
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")