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

swig dependencies

parent 70af6a99
No related branches found
No related tags found
No related merge requests found
...@@ -928,8 +928,8 @@ if(ENABLE_SWIG) ...@@ -928,8 +928,8 @@ if(ENABLE_SWIG)
find_package(PythonLibs) find_package(PythonLibs)
include_directories(${PYTHON_INCLUDE_DIR}) include_directories(${PYTHON_INCLUDE_DIR})
set_source_files_properties(Common/gmshpy.i PROPERTIES CPLUSPLUS ON) set_source_files_properties(Common/gmshpy.i PROPERTIES CPLUSPLUS ON)
swig_add_module(gmshpy python Common/gmshpy.i) swig_add_module(gmshpy python Common/gmshpy.i ${GMSH_API})
swig_link_libraries(gmshpy ${PYTHON_LIBRARIES} ${LINK_LIBRARIES} shared) swig_link_libraries(gmshpy ${PYTHON_LIBRARIES} shared)
endif(SWIG_MAJOR_VERSION EQUAL 1) endif(SWIG_MAJOR_VERSION EQUAL 1)
endif(SWIG_FOUND) endif(SWIG_FOUND)
endif(ENABLE_SWIG) endif(ENABLE_SWIG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment