diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index e50cab45..c2698f99 100755 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -34,16 +34,14 @@ win32 { } unix : !mac { INCLUDEPATH += $${PREFIX}/include + 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) } - !android { - 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) - } } mac { # make it x86_64 only