Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
9eb11429
Commit
9eb11429
authored
Jan 04, 2024
by
Trompettesib
Committed by
Jesse Beder
Jan 04, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix GIT_TAG field in cmake integration example
parent
c28295bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
README.md
+4
-2
No files found.
README.md
View file @
9eb11429
...
@@ -56,9 +56,11 @@ You can use for example FetchContent :
...
@@ -56,9 +56,11 @@ You can use for example FetchContent :
```
cmake
```
cmake
include
(
FetchContent
)
include
(
FetchContent
)
FetchContent_Declare
(
yaml-cpp
FetchContent_Declare
(
yaml-cpp
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git
GIT_TAG 1b50109f7bea60bd382d8ea7befce3d2bd67da5f
)
# The latest yaml-cpp commit at the time of writing.
GIT_TAG <tag_name>
# Can be a tag (yaml-cpp-x.x.x), a commit hash, or a branch name (master)
)
FetchContent_GetProperties
(
yaml-cpp
)
FetchContent_GetProperties
(
yaml-cpp
)
if
(
NOT yaml-cpp_POPULATED
)
if
(
NOT yaml-cpp_POPULATED
)
...
...
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