vcpkg/ports/stlab-copy-on-write/disable-cpm.patch

18 lines
554 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6452b57..6e4e9d4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,11 +1,8 @@
cmake_minimum_required(VERSION 3.24)
-include(cmake/CPM.cmake)
-
# Fetch cpp-library before project()
# Check https://github.com/stlab/cpp-library/releases for the latest version
-CPMAddPackage("gh:stlab/cpp-library@5.0.0")
-include(${cpp-library_SOURCE_DIR}/cpp-library.cmake)
+include(cmake/cpp-library/cpp-library.cmake)
# Enable dependency tracking before project()
cpp_library_enable_dependency_tracking()