aboutsummaryrefslogtreecommitdiff
path: root/ports/stlab/dont-require-testing.patch
diff options
context:
space:
mode:
authorkyp <kyp108@gmail.com>2019-04-26 21:28:13 +0200
committerGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-04-26 12:28:13 -0700
commitdad83076181775ff76e740d2943d19fdd5eec138 (patch)
treeedbabc213db621941a898187f969c25c771d841e /ports/stlab/dont-require-testing.patch
parent7b3d86b9333280ecd244038db9e299ffab975b1b (diff)
downloadvcpkg-dad83076181775ff76e740d2943d19fdd5eec138.tar.gz
vcpkg-dad83076181775ff76e740d2943d19fdd5eec138.zip
[stlab] update to v1.4.1 (#6209)
* [stlab] update to v1.4.1 [stlab] update head reference * [stlab] fix osx build
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()
+