summaryrefslogtreecommitdiff
path: root/gr-atsc
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-04-05 12:32:45 -0400
committerTom Rondeau <trondeau@vt.edu>2013-04-05 12:32:45 -0400
commita06fbf44f6febdf04d606a7c8bec0f8e2eef36c6 (patch)
treeb7d63fc9da7dd83916a2b95fcfe309fead451971 /gr-atsc
parent318660963ef29a7afa6372f6d636d16a7139ed3e (diff)
build: uniform handling of controlport vars in swig.
Diffstat (limited to 'gr-atsc')
-rw-r--r--gr-atsc/swig/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-atsc/swig/CMakeLists.txt b/gr-atsc/swig/CMakeLists.txt
index c3db530004..9fdd7ec764 100644
--- a/gr-atsc/swig/CMakeLists.txt
+++ b/gr-atsc/swig/CMakeLists.txt
@@ -33,6 +33,11 @@ set(GR_SWIG_INCLUDE_DIRS
${FFTW3F_INCLUDE_DIRS}
)
+if(ENABLE_GR_CTRLPORT)
+ list(APPEND GR_SWIG_FLAGS "-DGR_CTRLPORT")
+ list(APPEND GR_SWIG_INCLUDE_DIRS ${ICE_INCLUDE_DIR})
+endif(ENABLE_GR_CTRLPORT)
+
set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/atsc_swig_doc.i)
set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include/atsc)
set(GR_SWIG_DOCS_TARGET_DEPS runtime_swig_swig_doc)