--- CMakeLists.txt.orig	2022-06-07 11:34:09 UTC
+++ CMakeLists.txt
@@ -37,8 +37,8 @@ endif(LIBSEDML_REMOVE_WRAPPERS)
 
 
 set(SWIG_EXTRA_FLAGS -DSWIGEXPORT 
-   -DLIBSBML_CPP_NAMESPACE_BEGIN -DLIBSBML_CPP_NAMESPACE_END -DLIBSBML_CPP_NAMESPACE_QUALIFIER -DLIBSBML_CPP_NAMESPACE_USE
-   -DLIBNUML_CPP_NAMESPACE_BEGIN -DLIBNUML_CPP_NAMESPACE_END -DLIBNUML_CPP_NAMESPACE_QUALIFIER -DLIBNUML_CPP_NAMESPACE_USE
+   -DLIBSBML_CPP_NAMESPACE_BEGIN= -DLIBSBML_CPP_NAMESPACE_END= -DLIBSBML_CPP_NAMESPACE_QUALIFIER= -DLIBSBML_CPP_NAMESPACE_USE=
+   -DLIBNUML_CPP_NAMESPACE_BEGIN= -DLIBNUML_CPP_NAMESPACE_END= -DLIBNUML_CPP_NAMESPACE_QUALIFIER= -DLIBNUML_CPP_NAMESPACE_USE=
    )
 if(NOT UNIX)
   set(SWIG_EXTRA_FLAGS ${SWIG_EXTRA_FLAGS} -DSWIGWIN -DSWIG_CSHARP_NO_WSTRING_HELPER )
@@ -49,6 +49,7 @@ ADD_CUSTOM_COMMAND(  
     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libsedml_wrap.cpp
     COMMAND "${SWIG_EXECUTABLE}"
     ARGS  -I${CMAKE_CURRENT_SOURCE_DIR}/../swig/
+      -I${CMAKE_INSTALL_PREFIX}/include
       -I${CMAKE_CURRENT_SOURCE_DIR}/../../
       -I${CMAKE_CURRENT_BINARY_DIR}/../../
       -I${CMAKE_CURRENT_SOURCE_DIR}/../../sedml
@@ -125,9 +126,9 @@ if (PYTHON_USE_DYNAMIC_LOOKUP)
   if (APPLE)
     set_target_properties (binding_python_lib PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
   endif()
-  target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY}-static)
+  target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY})
 else()
-  target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY}-static ${PYTHON_LIBRARIES})
+  target_link_libraries(binding_python_lib ${LIBSEDML_LIBRARY} ${PYTHON_LIBRARIES})
 endif()
 
 # 
