From 077544581ee8a5d772ea504f9ba29121852fa982 Mon Sep 17 00:00:00 2001 From: Simon Weis Date: Tue, 22 Oct 2024 18:54:30 +0200 Subject: [PATCH] . e do not treat warnings as error for boost test for cygwin --- tests/Boost_Tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Boost_Tests/CMakeLists.txt b/tests/Boost_Tests/CMakeLists.txt index aebac063..c318252c 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 "CYGWIN") +if (NOT CYGWIN) include(WarningsAsErrors) endif ()