Commit 98bdfe4b authored by Steve Lhomme's avatar Steve Lhomme

contrib: ebml: fix universal Windows build

parent 0ecd4f79
--- ebml/CMakeLists.txt.uwp 2018-05-22 16:23:07.388136700 +0200
+++ ebml/CMakeLists.txt 2018-05-22 16:23:21.243621600 +0200
@@ -60,7 +60,7 @@ set(libebml_PUBLIC_HEADERS
ebml/MemReadIOCallback.h
ebml/SafeReadIOCallback.h
ebml/StdIOCallback.h)
-if(WIN32)
+if(WIN32 AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "WindowsStore")
list(APPEND libebml_SOURCES
src/platform/win32/WinIOCallback.cpp)
list(APPEND libebml_PUBLIC_HEADERS
......@@ -16,6 +16,7 @@ ebml: libebml-$(EBML_VERSION).tar.xz .sum-ebml
$(UNPACK)
$(APPLY) $(SRC)/ebml/0001-fix-build-with-gcc-7.patch
$(APPLY) $(SRC)/ebml/fix-clang-build.patch
$(APPLY) $(SRC)/ebml/ebml-fix-univeral-windows.patch
$(MOVE)
# libebml requires exceptions
......
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