aboutsummaryrefslogtreecommitdiff
path: root/ports/graphite2/disable-tests.patch
diff options
context:
space:
mode:
authorBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
committerBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
commit230d795ae3c3f2e45821b887c6065a81a8c04326 (patch)
tree7b014a1547ff1cc9ef80add56eb03b17774a1ff6 /ports/graphite2/disable-tests.patch
parent3d1fbeb7de48a3d7a782be7b8722efb5015c7010 (diff)
parent9b21ff9612916e24f89c6839599d3d50446597d8 (diff)
downloadvcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.tar.gz
vcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.zip
Merge branch 'master' of https://github.com/EMCECS/vcpkg
# Conflicts: # ports/ecsutil/CONTROL # ports/ecsutil/portfile.cmake
Diffstat (limited to 'ports/graphite2/disable-tests.patch')
-rw-r--r--ports/graphite2/disable-tests.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/graphite2/disable-tests.patch b/ports/graphite2/disable-tests.patch
new file mode 100644
index 000000000..d88c1cee5
--- /dev/null
+++ b/ports/graphite2/disable-tests.patch
@@ -0,0 +1,18 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index a4c648e..db90735 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -80,11 +80,13 @@ if (BUILD_SHARED_LIBS)
+ endif (BUILD_SHARED_LIBS)
+
+ add_subdirectory(src)
++if(NOT DISABLE_TESTS)
+ add_subdirectory(tests)
+ add_subdirectory(doc)
+ if (NOT GRAPHITE2_NFILEFACE)
+ add_subdirectory(gr2fonttest)
+ endif (NOT GRAPHITE2_NFILEFACE)
++endif()
+
+ set(version 3.0.1)
+ set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})