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-comedi | |
parent | 318660963ef29a7afa6372f6d636d16a7139ed3e (diff) |
build: uniform handling of controlport vars in swig.
Diffstat (limited to 'gr-comedi')
-rw-r--r-- | gr-comedi/swig/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-comedi/swig/CMakeLists.txt b/gr-comedi/swig/CMakeLists.txt index a783fe4af8..42e6286709 100644 --- a/gr-comedi/swig/CMakeLists.txt +++ b/gr-comedi/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) + # Setup swig docs to depend on includes and pull in from build directory set(GR_SWIG_TARGET_DEPS comedi_generated_includes) set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/comedi_swig_doc.i) |