Skip to content
Snippets Groups Projects
Commit 5b4c51d9 authored by Timo Koch's avatar Timo Koch Committed by Timo Koch
Browse files

Merge branch 'fix/python-target' into 'master'

[python] FIx python binding installation

See merge request !100

(cherry picked from commit 35b3c13b)

fcab6722 [python] Remove file extension (this will be added during configure)
fa6e7137 [python] Replace deprecated dune_python_install_package by dune_python_configure_bindings
parent 4b591bff
No related branches found
No related tags found
1 merge request!104Merge branch 'fix/python-target' into 'master'
......@@ -2,11 +2,19 @@ add_subdirectory(dune)
configure_file(setup.py.in setup.py)
if (DUNE_COMMON_VERSION VERSION_GREATER_EQUAL 2.9)
dune_python_configure_bindings(
PATH "."
CMAKE_METADATA_FILE dune/foamgrid/metadata.cmake
CMAKE_METADATA_FLAGS DUNE_OPTS_FILE
)
else()
dune_python_install_package(
PATH "."
CMAKE_METADATA_FILE dune/foamgrid/metadata.cmake
CMAKE_METADATA_FLAGS DUNE_OPTS_FILE
)
endif()
if(POLICY CMP0087)
cmake_policy(SET CMP0087 NEW)
......
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