summaryrefslogtreecommitdiff
path: root/gr-atsc/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-atsc/src/python')
-rw-r--r--gr-atsc/src/python/CMakeLists.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/gr-atsc/src/python/CMakeLists.txt b/gr-atsc/src/python/CMakeLists.txt
index a8394d3da..c00f51118 100644
--- a/gr-atsc/src/python/CMakeLists.txt
+++ b/gr-atsc/src/python/CMakeLists.txt
@@ -20,7 +20,7 @@
########################################################################
# Install python examples
########################################################################
-INCLUDE(GrPython)
+include(GrPython)
GR_PYTHON_INSTALL(
PROGRAMS
@@ -33,7 +33,7 @@ GR_PYTHON_INSTALL(
COMPONENT "atsc_examples"
)
-INSTALL(
+install(
FILES README
DESTINATION ${GR_PKG_DATA_DIR}/examples/atsc
COMPONENT "atsc_examples"
@@ -42,17 +42,17 @@ INSTALL(
########################################################################
# Handle the unit tests
########################################################################
-IF(ENABLE_TESTING)
-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
+if(ENABLE_TESTING)
+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 gruel gnuradio-core gnuradio-atsc)
+ set(GR_TEST_TARGET_DEPS gruel gnuradio-core gnuradio-atsc)
GR_ADD_TEST(${py_qa_test_name} ${PYTHON_EXECUTABLE} ${py_qa_test_file})
-ENDFOREACH(py_qa_test_file)
-ENDIF(ENABLE_TESTING)
+endforeach(py_qa_test_file)
+endif(ENABLE_TESTING)