2014-03-28 01:30:55 +01:00
|
|
|
--- gr-fcd/lib/CMakeLists.txt.orig 2013-08-28 13:27:03.000000000 -0500
|
|
|
|
+++ gr-fcd/lib/CMakeLists.txt 2014-03-02 20:20:16.000000000 -0500
|
2013-06-12 15:04:28 +02:00
|
|
|
@@ -32,6 +32,7 @@
|
2014-03-01 15:32:39 +01:00
|
|
|
${GNURADIO_RUNTIME_INCLUDE_DIRS}
|
2013-06-12 15:04:28 +02:00
|
|
|
${Boost_INCLUDE_DIRS}
|
2012-12-09 21:19:41 +01:00
|
|
|
${LIBUSB_INCLUDE_DIR}
|
|
|
|
+ ${ICONV_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
|
2014-03-01 15:32:39 +01:00
|
|
|
link_directories(
|
|
|
|
@@ -91,6 +92,10 @@
|
2012-12-09 21:19:41 +01:00
|
|
|
if (LINUX)
|
|
|
|
list(APPEND fcd_libs rt)
|
|
|
|
endif()
|
|
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
|
|
|
+ message( "--- Adding iconv library for FreeBSD")
|
|
|
|
+ list(APPEND fcd_libs ${ICONV_LIBRARY})
|
|
|
|
+endif()
|
2013-06-12 15:04:28 +02:00
|
|
|
target_link_libraries(gnuradio-fcd ${fcd_libs} ${LOG4CPP_LIBRARIES})
|
2012-12-09 21:19:41 +01:00
|
|
|
|
|
|
|
|