[Premake] Get rid of protobufs linker warnings

This commit is contained in:
momo5502 2017-05-31 16:17:23 +02:00
parent 1e382af801
commit dbc4ac170b

View File

@ -61,6 +61,7 @@ function protobuf.project()
-- not our code, ignore POSIX usage warnings for now -- not our code, ignore POSIX usage warnings for now
defines { "_SCL_SECURE_NO_WARNINGS" } defines { "_SCL_SECURE_NO_WARNINGS" }
warnings "Off" warnings "Off"
linkoptions { "-IGNORE:4221" }
-- always build as static lib, as we include our custom classes and therefore can't perform shared linking -- always build as static lib, as we include our custom classes and therefore can't perform shared linking
kind "StaticLib" kind "StaticLib"