mirror of https://github.com/microsoft/vcpkg.git
16 lines
631 B
Diff
16 lines
631 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a012cb4..ced589b 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -22,8 +22,8 @@ include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)
|
|
set(CPM_SOURCE_CACHE ${CMAKE_SOURCE_DIR}/.cpm-cache CACHE PATH "Directory to cache CPM packages" FORCE)
|
|
|
|
# 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
|