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
db03655d
Unverified
Commit
db03655d
authored
Oct 23, 2023
by
Gianfranco Costamagna
Committed by
GitHub
Oct 23, 2023
Browse files
Make sure CXX_STANDARD can be overridden from outside (#1239)
parent
145eec5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
test/cmake/CMakeLists.txt
test/cmake/CMakeLists.txt
+3
-1
No files found.
test/cmake/CMakeLists.txt
View file @
db03655d
...
...
@@ -15,5 +15,7 @@ else()
endif
()
add_executable
(
main main.cpp
)
set_target_properties
(
main PROPERTIES CXX_STANDARD 11
)
if
(
NOT DEFINED CMAKE_CXX_STANDARD
)
set_target_properties
(
main PROPERTIES CXX_STANDARD 11
)
endif
()
target_link_libraries
(
main PRIVATE
${
YAML_CPP_LIBRARIES
}
)
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