Commit b9341db7 authored by Steve Lhomme's avatar Steve Lhomme

contrib: harfbuzz: don't build tests on winstore builds

it tries to link with .lib files
parent 2088d14e
--- harfbuzz/CMakeLists.txt.notests 2018-05-24 15:14:05.682443200 +0200
+++ harfbuzz/CMakeLists.txt 2018-05-24 15:14:17.437916300 +0200
@@ -808,6 +808,7 @@ endif ()
## src/ executables
+if(NOT WIN32 OR NOT ${CMAKE_SYSTEM_NAME} MATCHES "WindowsStore")
foreach (prog main test test-would-substitute test-size-params test-buffer-serialize hb-ot-tag test-unicode-ranges)
set (prog_name ${prog})
if (${prog_name} STREQUAL "test")
@@ -818,6 +819,7 @@ foreach (prog main test test-would-subst
target_link_libraries(${prog_name} harfbuzz ${THIRD_PARTY_LIBS})
endforeach ()
set_target_properties(hb-ot-tag PROPERTIES COMPILE_FLAGS "-DMAIN")
+endif()
## Tests
if (UNIX OR MINGW)
......@@ -22,6 +22,7 @@ harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
$(APPLY) $(SRC)/harfbuzz/harfbuzz-clang.patch
$(APPLY) $(SRC)/harfbuzz/0001-Skip-using-the-_BitScan-intrinsics-on-mingw.patch
$(APPLY) $(SRC)/harfbuzz/harfbuzz-fix-freetype-detect.patch
$(APPLY) $(SRC)/harfbuzz/harfbuzz-no-tests.patch
$(MOVE)
DEPS_harfbuzz = freetype2 $(DEPS_freetype2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment