Skip to content
Snippets Groups Projects
Commit 79c02934 authored by Samuel Burbulla's avatar Samuel Burbulla Committed by Andreas Dedner
Browse files

Add configure call to install_python target.

parent 189790d5
Branches
Tags
1 merge request!932Merge of small MRs that make changes to the Python bindings
......@@ -125,9 +125,12 @@ function(dune_python_install_package)
# Determine a target name for installing this package
string(REPLACE "/" "_" targetname "install_python_${CMAKE_CURRENT_SOURCE_DIR}_${PYINST_PATH}")
set(CONFIGURE_DUNEPY -m dune configure)
# Add a custom target that globally installs this package if requested
add_custom_target(${targetname}
COMMAND ${Python3_EXECUTABLE} ${INSTALL_CMDLINE}
COMMAND ${Python3_EXECUTABLE} ${CONFIGURE_DUNEPY}
COMMENT "Installing the python package at ${PYINST_FULLPATH}"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment