From 480d1bcae118644c6c675258d05a4b8d2bec14b4 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Wed, 1 Mar 2023 20:36:19 +0100 Subject: [PATCH] Updated test cases compile flags for C translation units --- tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b55b4306..daf64ccb 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -51,10 +51,11 @@ foreach(TEST_NAME ${TEST_CASES}) target_compile_definitions(${TEST_NAME} PRIVATE $<$:ENABLE_CXX_STD_20_TEST_CASES>) target_compile_options(${TEST_NAME} PRIVATE + $<$: $<$,$>: -Wno-unused-parameter -Wno-unused-private-field -Wno-unused-variable -Wno-attributes -Wno-nonnull -Wno-deprecated-enum-enum-conversion> - $<$:/MP /W1 /bigobj /wd4624>) + $<$:/MP /W1 /bigobj /wd4624>>) target_link_libraries(${TEST_NAME} PRIVATE ${CLANG_UML_TEST_LIBRARIES}) endforeach()