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:
parent
0c16068dc7
commit
1a7cb2b694
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user