summaryrefslogtreecommitdiff
path: root/gr-blocks
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 09:23:30 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-03-22 09:23:30 -0700
commit99d24d23e95ea0235a8ea2957c289461625765a3 (patch)
tree76f2b684acd54450f2af82215e6a2c0841a82321 /gr-blocks
parente1e912858be7cb6d199fd5ca30c559e6afc48233 (diff)
parent0d5fd62c70f5f633b124732a17ed90b061f94941 (diff)
Merge branch 'master' into next
Conflicts: gr-wxgui/lib/CMakeLists.txt
Diffstat (limited to 'gr-blocks')
-rw-r--r--gr-blocks/CMakeLists.txt2
-rw-r--r--gr-blocks/lib/CMakeLists.txt4
-rw-r--r--gr-blocks/tests/CMakeLists.txt6
3 files changed, 3 insertions, 9 deletions
diff --git a/gr-blocks/CMakeLists.txt b/gr-blocks/CMakeLists.txt
index 6877ddca2d..a4c6184835 100644
--- a/gr-blocks/CMakeLists.txt
+++ b/gr-blocks/CMakeLists.txt
@@ -28,6 +28,7 @@ include(GrBoost)
include(GrComponent)
GR_REGISTER_COMPONENT("gr-blocks" ENABLE_GR_BLOCKS
Boost_FOUND
+ ENABLE_VOLK
ENABLE_GNURADIO_RUNTIME
)
@@ -36,6 +37,7 @@ GR_SET_GLOBAL(GR_BLOCKS_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_BINARY_DIR}/lib
${CMAKE_CURRENT_BINARY_DIR}/include
+ ${VOLK_INCLUDE_DIRS}
)
########################################################################
diff --git a/gr-blocks/lib/CMakeLists.txt b/gr-blocks/lib/CMakeLists.txt
index 1f3b0ee041..3769577302 100644
--- a/gr-blocks/lib/CMakeLists.txt
+++ b/gr-blocks/lib/CMakeLists.txt
@@ -65,7 +65,6 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}/../include
${GR_BLOCKS_INCLUDE_DIRS}
${GNURADIO_RUNTIME_INCLUDE_DIRS}
- ${VOLK_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
@@ -248,8 +247,6 @@ list(APPEND blocks_libs
gnuradio-runtime
${VOLK_LIBRARIES}
${Boost_LIBRARIES}
- ${BLOCKS_LIBRARIES}
- ${LOG4CPP_LIBRARIES}
)
add_library(gnuradio-blocks SHARED ${gr_blocks_sources})
@@ -326,7 +323,6 @@ if(ENABLE_TESTING)
gnuradio-blocks
${Boost_LIBRARIES}
${CPPUNIT_LIBRARIES}
- ${LOG4CPP_LIBRARIES}
)
GR_ADD_TEST(test_gr_blocks test-gr-blocks)
diff --git a/gr-blocks/tests/CMakeLists.txt b/gr-blocks/tests/CMakeLists.txt
index 8f2b28edfa..f6b2b50050 100644
--- a/gr-blocks/tests/CMakeLists.txt
+++ b/gr-blocks/tests/CMakeLists.txt
@@ -36,9 +36,6 @@ link_directories(
${CPPUNIT_LIBRARY_DIRS}
)
-include_directories(${LOG4CPP_INCLUDE_DIRS})
-link_directories(${LOG4CPP_LIBRARY_DIRS})
-
########################################################################
# Build benchmarks and non-registered tests
########################################################################
@@ -50,6 +47,5 @@ set(tests_not_run #single source per test
foreach(test_not_run_src ${tests_not_run})
get_filename_component(name ${test_not_run_src} NAME_WE)
add_executable(${name} ${test_not_run_src})
- target_link_libraries(${name} test-gnuradio-runtime gnuradio-blocks ${LOG4CPP_LIBRARIES})
+ target_link_libraries(${name} test-gnuradio-runtime gnuradio-blocks)
endforeach(test_not_run_src)
-