Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
c2680200
Unverified
Commit
c2680200
authored
Aug 17, 2023
by
Craig Scott
Committed by
GitHub
Aug 16, 2023
Browse files
Specify CMake policy range to avoid deprecation warning (#1211)
parent
f7320141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
CMakeLists.txt
+3
-2
No files found.
CMakeLists.txt
View file @
c2680200
# 3.5 is actually available almost everywhere, but this a good minimum
cmake_minimum_required
(
VERSION 3.4
)
# 3.5 is actually available almost everywhere, but this a good minimum.
# 3.14 as the upper policy limit avoids CMake deprecation warnings.
cmake_minimum_required
(
VERSION 3.4...3.14
)
# enable MSVC_RUNTIME_LIBRARY target property
# see https://cmake.org/cmake/help/latest/policy/CMP0091.html
...
...
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