diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c37e14fb96a4771a93b7a3be17258200b50b05d..a1335759971411fa62f8167e6231828eaad5f2d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1267,10 +1267,10 @@ if(ENABLE_WRAP_PYTHON) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) set(CMAKE_SWIG_FLAGS "") set_source_files_properties(Common/gmsh.i PROPERTIES CPLUSPLUS ON) - swig_add_module(gmshpython python Common/gmsh.i) - swig_link_libraries(gmshpython ${PYTHON_LIBRARIES} shared) + swig_add_module(gmsh python Common/gmsh.i) + swig_link_libraries(gmsh ${PYTHON_LIBRARIES} shared) if(APPLE) - set_target_properties("_gmshpython" PROPERTIES LINK_FLAGS + set_target_properties("_gmsh" PROPERTIES LINK_FLAGS "-undefined suppress -flat_namespace") endif(APPLE) # internal developer API bindings diff --git a/Common/gmsh.h b/Common/gmsh.h index bd3c3c0430d78c0f4563fa8519eba25f707db4fe..ece85a799e6ed62d50d784853da9bf98da63b86c 100644 --- a/Common/gmsh.h +++ b/Common/gmsh.h @@ -18,7 +18,7 @@ // 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 -// 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. #include <cmath>