From d0cc76ffc3565a6327626d9ba40901bc013e3491 Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 14 Jan 2017 00:29:18 +0100 Subject: [PATCH] pokerth_protocol.pro fix for android build --- pokerth_protocol.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index 7a331df5..03fb36ce 100644 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -37,6 +37,12 @@ unix : !mac { system(protoc pokerth.proto --cpp_out=src/third_party/protobuf) system(protoc chatcleaner.proto --cpp_out=src/third_party/protobuf) system(protoc pokerth.proto --java_out=tests/src) + + android { + system(wine protoc.exe pokerth.proto --cpp_out=src/third_party/protobuf) + system(wine protoc.exe chatcleaner.proto --cpp_out=src/third_party/protobuf) + system(wine protoc.exe pokerth.proto --java_out=tests/src) + } } mac { # make it x86_64 only