summaryrefslogtreecommitdiff
path: root/gr-audio
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-01 11:44:22 -0500
committerTom Rondeau <trondeau@vt.edu>2013-03-01 11:44:22 -0500
commit95f38c65bbdf1b1464999e7aa3275b3492dee3ac (patch)
treeab59e8efe46176dd593b188a549d5555a4f2e2b6 /gr-audio
parent638dd88672c350cd20190083695c1a9cb32b7c66 (diff)
ctrlport: allowing all components to use ControlPort.
Diffstat (limited to 'gr-audio')
-rw-r--r--gr-audio/lib/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-audio/lib/CMakeLists.txt b/gr-audio/lib/CMakeLists.txt
index 6a46d3f935..6814b26208 100644
--- a/gr-audio/lib/CMakeLists.txt
+++ b/gr-audio/lib/CMakeLists.txt
@@ -34,6 +34,11 @@ list(APPEND gr_audio_libs gnuradio-core ${Boost_LIBRARIES})
list(APPEND gr_audio_sources audio_registry.cc)
list(APPEND gr_audio_confs ${CMAKE_CURRENT_SOURCE_DIR}/gr-audio.conf)
+if(ENABLE_GR_CTRLPORT)
+ ADD_DEFINITIONS(-DGR_CTRLPORT)
+ include_directories(${ICE_INCLUDE_DIR})
+endif(ENABLE_GR_CTRLPORT)
+
########################################################################
## ALSA Support
########################################################################