-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ upa-url/upa@fd2aa36 🚀
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,15 +160,15 @@ <h2><a class="anchor" id="cmake"></a> | |
<div class="line">FetchContent_Declare(upa</div> | ||
<div class="line"> GIT_REPOSITORY https://github.com/upa-url/upa.git</div> | ||
<div class="line"> GIT_SHALLOW TRUE</div> | ||
<div class="line"> GIT_TAG v1.0.0</div> | ||
<div class="line"> GIT_TAG v1.0.1</div> | ||
<div class="line">)</div> | ||
<div class="line">FetchContent_MakeAvailable(upa)</div> | ||
<div class="line">...</div> | ||
<div class="line">target_link_libraries(exe-target PRIVATE upa::url)</div> | ||
</div><!-- fragment --><h3><a class="anchor" id="embedding-with-cpmcmake-script"></a> | ||
Embedding with CPM.cmake script</h3> | ||
<p>If you are using the <a href="https://github.com/cpm-cmake/CPM.cmake">CPM.cmake script</a> and have included it in your <code>CMakeLists.txt</code>, then:</p> | ||
<div class="fragment"><div class="line">CPMAddPackage("gh:upa-url/[email protected].0")</div> | ||
<div class="fragment"><div class="line">CPMAddPackage("gh:upa-url/[email protected].1")</div> | ||
<div class="line">...</div> | ||
<div class="line">target_link_libraries(exe-target PRIVATE upa::url)</div> | ||
</div><!-- fragment --><h2><a class="anchor" id="vcpkg"></a> | ||
|