Skip to content
Snippets Groups Projects
Commit e0dced82 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

renamed swig lib

parent 93d7a46d
No related branches found
No related tags found
No related merge requests found
...@@ -1267,10 +1267,10 @@ if(ENABLE_WRAP_PYTHON) ...@@ -1267,10 +1267,10 @@ if(ENABLE_WRAP_PYTHON)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_SWIG_FLAGS "") set(CMAKE_SWIG_FLAGS "")
set_source_files_properties(Common/gmsh.i PROPERTIES CPLUSPLUS ON) set_source_files_properties(Common/gmsh.i PROPERTIES CPLUSPLUS ON)
swig_add_module(gmsh python Common/gmsh.i) swig_add_module(gmshpython python Common/gmsh.i)
swig_link_libraries(gmsh ${PYTHON_LIBRARIES} shared) swig_link_libraries(gmshpython ${PYTHON_LIBRARIES} shared)
if(APPLE) if(APPLE)
set_target_properties("_gmsh" PROPERTIES LINK_FLAGS set_target_properties("_gmshpython" PROPERTIES LINK_FLAGS
"-undefined suppress -flat_namespace") "-undefined suppress -flat_namespace")
endif(APPLE) endif(APPLE)
# internal developer API bindings # internal developer API bindings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment