summaryrefslogtreecommitdiff
path: root/gr-comedi/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gr-comedi/src/CMakeLists.txt')
-rw-r--r--gr-comedi/src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-comedi/src/CMakeLists.txt b/gr-comedi/src/CMakeLists.txt
index 2573940dc..6ad14737b 100644
--- a/gr-comedi/src/CMakeLists.txt
+++ b/gr-comedi/src/CMakeLists.txt
@@ -72,6 +72,9 @@ set(GR_SWIG_INCLUDE_DIRS
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}
)
+set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/comedi_swig_doc.i)
+set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR})
+
set(GR_SWIG_LIBRARIES gnuradio-comedi)
GR_SWIG_MAKE(comedi comedi.i)
@@ -84,6 +87,7 @@ GR_SWIG_INSTALL(
install(
FILES comedi.i
+ ${CMAKE_CURRENT_BINARY_DIR}/comedi_swig_doc.i
DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig
COMPONENT "comedi_swig"
)