aboutsummaryrefslogtreecommitdiff
path: root/ports/graphite2/disable-tests.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
committerPhil Christensen <philc@microsoft.com>2018-12-06 15:06:28 -0800
commit7347305e8459fcc78553a9f88196e0d93eb0a8fe (patch)
treeac9eee9ff267c6a71a83249bed7a94f02b00d9a5 /ports/graphite2/disable-tests.patch
parented9357a5aafea7192932b5874264bd103fc61255 (diff)
parent63c1b2628e958f8e02356411f032941c0c2f3bbb (diff)
downloadvcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.tar.gz
vcpkg-7347305e8459fcc78553a9f88196e0d93eb0a8fe.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/3425
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})