diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-08-27 06:51:30 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-08-27 06:51:30 -0700 |
commit | 552eb6b12f3ad6c80746aac4eb1e6d7abb620adb (patch) | |
tree | 31623d03c49b9a108327d07b0b44d542fafd3f11 /cmake | |
parent | c1f0b50d1d5a817c98130726997ba284ea980d95 (diff) | |
parent | 335f0dfc0e79c7019956645937ceba487437ae8d (diff) |
Merge branch 'maint'
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrSwig.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Modules/GrSwig.cmake b/cmake/Modules/GrSwig.cmake index f907a5149a..68c4f0a58a 100644 --- a/cmake/Modules/GrSwig.cmake +++ b/cmake/Modules/GrSwig.cmake @@ -172,6 +172,9 @@ macro(GR_SWIG_MAKE name) include(UseSWIG) SWIG_ADD_MODULE(${name} python ${ifiles}) SWIG_LINK_LIBRARIES(${name} ${PYTHON_LIBRARIES} ${GR_SWIG_LIBRARIES}) + if(${name} STREQUAL "runtime_swig") + SET_TARGET_PROPERTIES(${SWIG_MODULE_runtime_swig_REAL_NAME} PROPERTIES DEFINE_SYMBOL "gnuradio_runtime_EXPORTS") + endif(${name} STREQUAL "runtime_swig") endmacro(GR_SWIG_MAKE) |