Skip to content
Snippets Groups Projects
Commit e8efcf1f authored by Andreas Dedner's avatar Andreas Dedner
Browse files

add config.opts file to metadata and enable CMP0087 NEW cmake policy

comment out CMP0087 NEW cmake policy because it fails on some CI runners

correctly set CMP0087 cmake policy to NEW for cmake >= 3.14
parent 825d5560
Branches
Tags
1 merge request!432refactor the way python is used in dune
......@@ -4,4 +4,8 @@ dune_python_install_package(
PATH "."
CMAKE_METADATA_FILE dune/istl/metadata.cmake
DEPENDS _istl
CMAKE_METADATA_FLAGS DUNE_OPTS_FILE
)
if ("${CMAKE_VERSION}" VERSION_GREATER 3.14)
cmake_policy(SET CMP0087 NEW)
endif ("${CMAKE_VERSION}" VERSION_GREATER 3.14)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment