aboutsummaryrefslogtreecommitdiff
path: root/ports/rttr/disable-unit-tests.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-26 18:33:17 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-10-26 18:33:17 -0700
commit286625e09eb4e2334062b65cf45fc1dee5fedb66 (patch)
tree7111b543224604a2601d8255771702421a995fc5 /ports/rttr/disable-unit-tests.patch
parent0028cbc23fef82c3a36de771f990f0dfea407bb0 (diff)
downloadvcpkg-286625e09eb4e2334062b65cf45fc1dee5fedb66.tar.gz
vcpkg-286625e09eb4e2334062b65cf45fc1dee5fedb66.zip
[rttr] Disable unit tests during build. Not bumping version because the output files are unaffected.
Diffstat (limited to 'ports/rttr/disable-unit-tests.patch')
-rw-r--r--ports/rttr/disable-unit-tests.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/rttr/disable-unit-tests.patch b/ports/rttr/disable-unit-tests.patch
new file mode 100644
index 000000000..b27f01661
--- /dev/null
+++ b/ports/rttr/disable-unit-tests.patch
@@ -0,0 +1,14 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index b9fd698..bcaebfe 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -31,7 +31,9 @@
+ #############################################
+
+ add_subdirectory (rttr)
++if(UNIT_TESTS)
+ add_subdirectory (unit_tests)
++endif()
+
+ if (${BUILD_BENCHMARKS})
+ add_subdirectory (benchmarks)