diff options
| author | mcgoo <jimmc2@gmail.com> | 2019-07-08 02:59:43 -0400 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-07-07 23:59:42 -0700 |
| commit | b77cd69e02bb81bb2bfe69a9341ac8e70ce25f61 (patch) | |
| tree | e03940d0faf7a3273b1cc4194f837aa4ab632f0e | |
| parent | 327494e9acfbfa247d49c3fa23de85af2c1859a0 (diff) | |
| download | vcpkg-b77cd69e02bb81bb2bfe69a9341ac8e70ce25f61.tar.gz vcpkg-b77cd69e02bb81bb2bfe69a9341ac8e70ce25f61.zip | |
allow disabling another piece of test infra which does not work on macos (#7012)
| -rw-r--r-- | ports/graphite2/disable-tests.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/graphite2/disable-tests.patch b/ports/graphite2/disable-tests.patch index d88c1cee5..ccb2ac822 100644 --- a/ports/graphite2/disable-tests.patch +++ b/ports/graphite2/disable-tests.patch @@ -16,3 +16,18 @@ index a4c648e..db90735 100644 set(version 3.0.1)
set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 89a59af..c72be21 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -141,7 +141,9 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") + LINKER_LANGUAGE C) + target_link_libraries(graphite2 c) + include(Graphite) +- nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) ++ if(NOT DISABLE_TESTS) ++ nolib_test(stdc++ $<TARGET_SONAME_FILE:graphite2>) ++ endif() + set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") + CREATE_LIBTOOL_FILE(graphite2 "/lib${LIB_SUFFIX}") + endif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") |
