pineapple-src/externals/vcpkg/ports/bext-ut/avoid-cpm.patch

13 lines
379 B
Diff
Raw Normal View History

2022-07-22 21:01:36 -04:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,7 +36,7 @@
# ---- Add dependencies via CPM ----
# see https://github.com/cpm-cmake/CPM.cmake for more info
-if(CMAKE_VERSION VERSION_LESS 3.20.0)
+if(1)
# see https://github.com/TheLartians/PackageProject.cmake/pull/19
include(cmake/PackageProject.cmake)
else()