diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-04-05 12:32:45 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-04-05 12:32:45 -0400 |
commit | a06fbf44f6febdf04d606a7c8bec0f8e2eef36c6 (patch) | |
tree | b7d63fc9da7dd83916a2b95fcfe309fead451971 /gr-noaa | |
parent | 318660963ef29a7afa6372f6d636d16a7139ed3e (diff) |
build: uniform handling of controlport vars in swig.
Diffstat (limited to 'gr-noaa')
-rw-r--r-- | gr-noaa/swig/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-noaa/swig/CMakeLists.txt b/gr-noaa/swig/CMakeLists.txt index 829ca4f17d..2bc7c3eb2e 100644 --- a/gr-noaa/swig/CMakeLists.txt +++ b/gr-noaa/swig/CMakeLists.txt @@ -29,6 +29,11 @@ set(GR_SWIG_INCLUDE_DIRS ${Boost_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}/noaa_swig_doc.i) set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include/noaa) set(GR_SWIG_DOCS_TARGET_DEPS runtime_swig_swig_doc) |