diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 8483a0b..b954182 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -82,14 +82,6 @@ install(FILES COMPONENT "core_devel" ) -#also copy these to the build dir for swig docs -foreach(header ${runtime_headers}) - execute_process( - COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/ - COMMAND ${CMAKE_COMMAND} -E copy ${header} ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/ - ) -endforeach(header) - ######################################################################## # Install swig headers ######################################################################## @@ -100,4 +92,11 @@ install(FILES DESTINATION ${GR_INCLUDE_DIR}/gnuradio/swig COMPONENT "core_swig" ) + +#makes swig doc generator happy +execute_process( + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/ + COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/runtime/nop.h +) + endif(ENABLE_PYTHON) |