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

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

parent 04370fb9
No related branches found
No related tags found
1 merge request!32refactor the way python is used in dune
Pipeline #40616 passed
......@@ -5,6 +5,6 @@ dune_python_install_package(
CMAKE_METADATA_FILE dune/femdg/metadata.cmake
CMAKE_METADATA_FLAGS DUNE_OPTS_FILE
)
if ("${CMAKE_VERSION}" VERSION_GREATER 3.14)
if(POLICY CMP0087)
cmake_policy(SET CMP0087 NEW)
endif ("${CMAKE_VERSION}" VERSION_GREATER 3.14)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment