0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00

cmake: Don't use "Wno-unused-private-field" for msvc

Signed-off-by: Lev Stipakov <lev@openvpn.net>
This commit is contained in:
Lev Stipakov 2020-01-30 10:31:14 +02:00
parent 0c16068dc7
commit 1a7cb2b694
No known key found for this signature in database
GPG Key ID: 88670BE258B9C258

View File

@ -5,5 +5,7 @@ include(findcoredeps)
add_executable(proto proto.cpp)
add_core_dependencies(proto)
# We have a number of private fields that depend on compile flags for manual testing
target_compile_options(proto PRIVATE -Wno-unused-private-field)
if (!WIN32)
# We have a number of private fields that depend on compile flags for manual testing
target_compile_options(proto PRIVATE -Wno-unused-private-field)
endif ()