aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/stlab-copy-on-write/disable-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/stlab-copy-on-write/disable-tests.patch')
-rw-r--r--vcpkg/ports/stlab-copy-on-write/disable-tests.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/stlab-copy-on-write/disable-tests.patch b/vcpkg/ports/stlab-copy-on-write/disable-tests.patch
new file mode 100644
index 0000000..e5c777c
--- /dev/null
+++ b/vcpkg/ports/stlab-copy-on-write/disable-tests.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 41ee6d1..b42fe4e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -71,7 +71,7 @@ install(FILES
+ )
+
+ # Only build tests and examples if this is the top-level project
+-if(PROJECT_IS_TOP_LEVEL)
++if(0)
+ # Add doctest dependency for testing
+ CPMAddPackage(
+ NAME doctest