aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/stlab/devendoring.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/stlab/devendoring.patch')
-rw-r--r--vcpkg/ports/stlab/devendoring.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/stlab/devendoring.patch b/vcpkg/ports/stlab/devendoring.patch
new file mode 100644
index 0000000..5ce75f4
--- /dev/null
+++ b/vcpkg/ports/stlab/devendoring.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 671f79d..8eabae4 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -15,8 +15,8 @@ include(cmake/CPM.cmake)
+
+
+ # Add stlab-copy-on-write as a dependency
+-CPMAddPackage("gh:stlab/copy-on-write@1.0.3")
+-target_link_libraries(stlab INTERFACE stlab::copy-on-write)
++find_package(stlab-copy-on-write CONFIG REQUIRED)
++target_link_libraries(stlab PUBLIC stlab::stlab-copy-on-write)
+
+ ########################################################
+ # clangd