Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
5bb98b79
Commit
5bb98b79
authored
Oct 19, 2021
by
dedner
Committed by
Praetorius, Simon
Oct 22, 2021
Browse files
correctly set CMP0087 cmake policy to NEW for cmake >= 3.14
parent
e5e8377c
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
5bb98b79
...
...
@@ -6,4 +6,6 @@ dune_python_install_package(
CMAKE_METADATA_FILE dune/vtk/metadata.cmake
# metadata file to generate
CMAKE_METADATA_FLAGS DUNE_OPTS_FILE
)
# cmake_policy(SET CMP0087 NEW)
if
(
"
${
CMAKE_VERSION
}
"
VERSION_GREATER 3.14
)
cmake_policy
(
SET CMP0087 NEW
)
endif
(
"
${
CMAKE_VERSION
}
"
VERSION_GREATER 3.14
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment