aboutsummaryrefslogtreecommitdiff
path: root/ports/graphite2/disable-tests.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-08-21 17:17:49 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-08-24 12:33:30 -0700
commit9a35830ff331cc865adbcaa983ca979911471663 (patch)
tree870a913998a15da14c387663d74675ea845b91e7 /ports/graphite2/disable-tests.patch
parentbb1cc710950a512f88956d504b9d3ac69d014833 (diff)
downloadvcpkg-9a35830ff331cc865adbcaa983ca979911471663.tar.gz
vcpkg-9a35830ff331cc865adbcaa983ca979911471663.zip
[graphite2] Update to 1.3.12. Fixes #4091.
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})