diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-01 11:44:22 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-01 11:44:22 -0500 |
commit | 95f38c65bbdf1b1464999e7aa3275b3492dee3ac (patch) | |
tree | ab59e8efe46176dd593b188a549d5555a4f2e2b6 /gr-howto-write-a-block | |
parent | 638dd88672c350cd20190083695c1a9cb32b7c66 (diff) |
ctrlport: allowing all components to use ControlPort.
Diffstat (limited to 'gr-howto-write-a-block')
-rw-r--r-- | gr-howto-write-a-block/lib/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-howto-write-a-block/lib/CMakeLists.txt b/gr-howto-write-a-block/lib/CMakeLists.txt index 1d00f0ccc9..f847d757f6 100644 --- a/gr-howto-write-a-block/lib/CMakeLists.txt +++ b/gr-howto-write-a-block/lib/CMakeLists.txt @@ -29,6 +29,11 @@ add_library(gnuradio-howto SHARED square_ff_impl.cc square2_ff_impl.cc) target_link_libraries(gnuradio-howto ${Boost_LIBRARIES} ${GRUEL_LIBRARIES} ${GNURADIO_CORE_LIBRARIES}) set_target_properties(gnuradio-howto PROPERTIES DEFINE_SYMBOL "gnuradio_howto_EXPORTS") +if(ENABLE_GR_CTRLPORT) + ADD_DEFINITIONS(-DGR_CTRLPORT) + include_directories(${ICE_INCLUDE_DIR}) +endif(ENABLE_GR_CTRLPORT) + ######################################################################## # Install built library files ######################################################################## |