From ff0fa8987e2ec3700e6f77c4a491439af1caf886 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 17 Nov 2017 18:16:56 +0100 Subject: [PATCH] fix --- CMakeLists.txt | 6 +++--- Common/gmsh.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c37e14fb9..a133575997 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 bd3c3c0430..ece85a799e 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> -- GitLab