diff --git a/test/ssl/CMakeLists.txt b/test/ssl/CMakeLists.txt index 251c737c..c37ab66a 100644 --- a/test/ssl/CMakeLists.txt +++ b/test/ssl/CMakeLists.txt @@ -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) \ No newline at end of file +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 ()