We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80940ba commit 2043eadCopy full SHA for 2043ead
1 file changed
README.md
@@ -76,6 +76,19 @@ add_subdirectory(atomic_queue)
76
target_link_libraries(main PRIVATE atomic_queue::atomic_queue)
77
```
78
79
+## Using cmake FetchContent
80
+You can also use CMake's FetchContent.
81
+```cmake
82
+include(FetchContent)
83
+FetchContent_Declare(
84
+ atomic_queue
85
+ GIT_REPOSITORY https://github.com/max0x7ba/atomic_queue.git
86
+ GIT_TAG master
87
+)
88
+FetchContent_MakeAvailable(atomic_queue)
89
+target_link_libraries(main PRIVATE atomic_queue::atomic_queue)
90
+```
91
+
92
## Install using vcpkg
93
94
vcpkg install atomic-queue
0 commit comments