Commit 1d1a19a2 authored by Andrew J. Burns (Cont's avatar Andrew J. Burns (Cont

fix for CMake 3.0.0

parent 76260f71
......@@ -119,8 +119,8 @@ if(XDMF_WRAP_PYTHON)
endif (XDMF_BUILD_DSM)
set_source_files_properties(${python_name}.i PROPERTIES CPLUSPLUS ON)
set(swig_extra_generated_files "")
swig_add_module(${python_name} python ${python_name}.i)
swig_link_libraries(${python_name} ${python_name} ${PYTHON_LIBRARIES})
swig_add_module(${python_name}Python python ${python_name}.i)
swig_link_libraries(${python_name}Python ${python_name} ${PYTHON_LIBRARIES})
set_property(DIRECTORY APPEND PROPERTY
ADDITIONAL_MAKE_CLEAN_FILES
${CMAKE_BINARY_DIR}/${python_name}.pyc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment