Make consistent use of Python targets and variables in CMake
All threads resolved!
All threads resolved!
Compare changes
Files
5@@ -78,15 +78,12 @@ function(dune_add_pybind11_module)
This is a small clean up on python handling on CMake:
Python3::Module
instead of raw handling of include directories and flags
Python3::Python
for embedding python into C++
Python3::Python
DUNE_PYTHON_pip_FOUND
and DUNE_PYTHON_VIRTUALENV_EXECUTABLE
into internal cache variables to have global scope.
include_guard(GLOBAL)
.