aboutsummaryrefslogtreecommitdiff
path: root/ports/stlab/dont-require-testing.patch
diff options
context:
space:
mode:
authorThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
committerThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
commit788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b (patch)
tree173ade0e6960917458afe9dd9fb0c3c2b7f32051 /ports/stlab/dont-require-testing.patch
parentf483ae4c7fd04eed671a1de595374f84175311e9 (diff)
parent26a9338c5055193915290527eacb37f2ac7fdcb8 (diff)
downloadvcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.tar.gz
vcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.zip
Merge master
Diffstat (limited to 'ports/stlab/dont-require-testing.patch')
-rw-r--r--ports/stlab/dont-require-testing.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/stlab/dont-require-testing.patch b/ports/stlab/dont-require-testing.patch
new file mode 100644
index 000000000..f5c2106e7
--- /dev/null
+++ b/ports/stlab/dont-require-testing.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d058bbe..260d940 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -123,8 +123,7 @@ if ( stlab.testing OR stlab.boost_variant OR stlab.boost_optional )
+ endif()
+ endif()
+
+-
+- if(NOT TARGET Boost::unit_test_framework)
++ if (stlab.testing AND NOT TARGET Boost::unit_test_framework)
+ message(FATAL_ERROR "Could not find Boost unit test framework.")
+ endif()
+