summaryrefslogtreecommitdiff
path: root/gr-atsc/src
diff options
context:
space:
mode:
Diffstat (limited to 'gr-atsc/src')
-rw-r--r--gr-atsc/src/lib/CMakeLists.txt2
-rw-r--r--gr-atsc/src/python/CMakeLists.txt12
2 files changed, 7 insertions, 7 deletions
diff --git a/gr-atsc/src/lib/CMakeLists.txt b/gr-atsc/src/lib/CMakeLists.txt
index 39dbefa60..8c67d9028 100644
--- a/gr-atsc/src/lib/CMakeLists.txt
+++ b/gr-atsc/src/lib/CMakeLists.txt
@@ -129,7 +129,7 @@ list(APPEND test_atsci_sources
)
include(GrTest)
-set(GR_TEST_TARGET_DEPS gnuradio-atsc gnuradio-core gruel volk)
+list(APPEND GR_TEST_TARGET_DEPS gnuradio-atsc)
add_executable(test_atsci ${test_atsci_sources} test_atsci.cc)
target_link_libraries(test_atsci gnuradio-atsc gnuradio-core ${CPPUNIT_LIBRARIES})
GR_ADD_TEST(atsci-test test_atsci)
diff --git a/gr-atsc/src/python/CMakeLists.txt b/gr-atsc/src/python/CMakeLists.txt
index d38d6d803..fa9f91156 100644
--- a/gr-atsc/src/python/CMakeLists.txt
+++ b/gr-atsc/src/python/CMakeLists.txt
@@ -43,16 +43,16 @@ install(
# Handle the unit tests
########################################################################
if(ENABLE_TESTING)
+
+list(APPEND GR_TEST_PYTHON_DIRS
+ ${CMAKE_BINARY_DIR}/gr-atsc/src/lib
+)
+list(APPEND GR_TEST_TARGET_DEPS gnuradio-atsc)
+
include(GrTest)
file(GLOB py_qa_test_files "qa_*.py")
foreach(py_qa_test_file ${py_qa_test_files})
get_filename_component(py_qa_test_name ${py_qa_test_file} NAME_WE)
- set(GR_TEST_PYTHON_DIRS
- ${CMAKE_BINARY_DIR}/gnuradio-core/src/python
- ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/swig
- ${CMAKE_BINARY_DIR}/gr-atsc/src/lib
- )
- set(GR_TEST_TARGET_DEPS volk gruel gnuradio-core gnuradio-atsc)
GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} ${py_qa_test_file})
endforeach(py_qa_test_file)
endif(ENABLE_TESTING)