Commit e153113d 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 7dc7c968
Pipeline #40589 passed with stage
in 27 minutes and 19 seconds
......@@ -4,4 +4,8 @@ dune_python_install_package(
PATH "."
CMAKE_METADATA_FILE dune/localfunctions/metadata.cmake
DEPENDS _localfunctions
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)
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