Fix building on latest vspkg protobuf package.

This commit is contained in:
Mr_Goldberg 2019-04-13 12:51:54 -04:00
parent 06b0d1c67f
commit 320063c339
No known key found for this signature in database
GPG key ID: 8597D87419DEF278
5 changed files with 13 additions and 7 deletions

View file

@ -2,3 +2,9 @@ SET PROTOBUF_X86_DIRECTORY=..\vcpkg\packages\protobuf_x86-windows-static
SET PROTOBUF_X64_DIRECTORY=..\vcpkg\packages\protobuf_x64-windows-static
rem location of protoc in protobuf directories:
SET PROTOC_DIRECTORY=\tools\protobuf\protoc.exe
if exist "%PROTOBUF_X64_DIRECTORY%\lib\libprotobuf-lite.lib" (
SET PROTOBUF_LIBRARY=\lib\libprotobuf-lite.lib
) else (
SET PROTOBUF_LIBRARY=\lib\libprotobuf.lib
)