Skip to content
Snippets Groups Projects
Commit 5e7123f4 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

python : compile on os X 10.8 with a recent cmake

parent 393bf8fa
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,9 @@ foreach(module ${SWIG_MODULES}) ...@@ -84,6 +84,9 @@ foreach(module ${SWIG_MODULES})
set(GMSH_PYTHON_MODULES_INCLUDE_CODE set(GMSH_PYTHON_MODULES_INCLUDE_CODE
"${GMSH_PYTHON_MODULES_INCLUDE_CODE}from ${module} import *\n") "${GMSH_PYTHON_MODULES_INCLUDE_CODE}from ${module} import *\n")
list(APPEND GMSHPY_DEPENDS "_${module}") list(APPEND GMSHPY_DEPENDS "_${module}")
if(APPLE)
set_target_properties("_${module}" PROPERTIES LINK_FLAGS "-undefined suppress -flat_namespace")
endif(APPLE)
endforeach(module) endforeach(module)
add_custom_target("_gmshpy" DEPENDS ${GMSHPY_DEPENDS}) add_custom_target("_gmshpy" DEPENDS ${GMSHPY_DEPENDS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment