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
0b8555c6
Commit
0b8555c6
authored
Oct 22, 2021
by
dedner
Browse files
check that policy CMP0087 exists in python/CMakeLists.txt file and set it to new if available
parent
d3b5a957
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
0b8555c6
...
...
@@ -6,6 +6,6 @@ dune_python_install_package(
CMAKE_METADATA_FILE dune/vtk/metadata.cmake
# metadata file to generate
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
(
)
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