Commit 0b8555c6 authored by dedner's avatar dedner
Browse files

check that policy CMP0087 exists in python/CMakeLists.txt file and set it to new if available

parent d3b5a957
...@@ -6,6 +6,6 @@ dune_python_install_package( ...@@ -6,6 +6,6 @@ dune_python_install_package(
CMAKE_METADATA_FILE dune/vtk/metadata.cmake # metadata file to generate CMAKE_METADATA_FILE dune/vtk/metadata.cmake # metadata file to generate
CMAKE_METADATA_FLAGS DUNE_OPTS_FILE CMAKE_METADATA_FLAGS DUNE_OPTS_FILE
) )
if ("${CMAKE_VERSION}" VERSION_GREATER 3.14) if(POLICY CMP0087)
cmake_policy(SET CMP0087 NEW) cmake_policy(SET CMP0087 NEW)
endif ("${CMAKE_VERSION}" VERSION_GREATER 3.14) endif()
Supports Markdown
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