diff --git a/tests/Boost_Tests/CMakeLists.txt b/tests/Boost_Tests/CMakeLists.txt index fdbabe8d..aebac063 100644 --- a/tests/Boost_Tests/CMakeLists.txt +++ b/tests/Boost_Tests/CMakeLists.txt @@ -36,6 +36,6 @@ endif () target_link_libraries(${PROJECT_NAME} ApprovalTests::ApprovalTests) add_test(NAME ${PROJECT_NAME} COMMAND ${PROJECT_NAME}) -#if (NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Windows") -# include(WarningsAsErrors) -#endif () +if (NOT "${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN") + include(WarningsAsErrors) +endif ()