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

fix

parent 8e5b63e3
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(gmshpython python Common/gmsh.i) swig_add_module(gmsh python Common/gmsh.i)
swig_link_libraries(gmshpython ${PYTHON_LIBRARIES} shared) swig_link_libraries(gmsh ${PYTHON_LIBRARIES} shared)
if(APPLE) if(APPLE)
set_target_properties("_gmshpython" PROPERTIES LINK_FLAGS set_target_properties("_gmsh" PROPERTIES LINK_FLAGS
"-undefined suppress -flat_namespace") "-undefined suppress -flat_namespace")
endif(APPLE) endif(APPLE)
# internal developer API bindings # internal developer API bindings
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
// from the standard library. This design should not and will not change. // from the standard library. This design should not and will not change.
// All functions return 0 as the first entry of the returned vector on // All functions return 0 as the first entry of the returned vector on
// successful completion. Additional integer results can be appends to this // successful completion. Additional integer results can be appended to this
// returned value, depending on context. // returned value, depending on context.
#include <cmath> #include <cmath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment