Skip to content

Commit

Permalink
tests: Fix compile error with Clang 19 due to warning in Catch2
Browse files Browse the repository at this point in the history
  • Loading branch information
caseif committed Nov 1, 2024
1 parent 3fd073c commit 93b3a99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/test/BuildTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ set_target_properties(${PROJECT_NAME} PROPERTIES CXX_EXTENSIONS "${PROJECT_CXX_E
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD_REQUIRED ON)

_argus_set_compile_flags("${PROJECT_NAME}")
target_compile_options("${PROJECT_NAME}" PRIVATE "$<$<CXX_COMPILER_ID:GNU>:-Wno-unused-but-set-variable>")
target_compile_options("${PROJECT_NAME}" PRIVATE
"$<$<CXX_COMPILER_ID:GNU>:-Wno-unused-but-set-variable>"
"-Wno-c++20-extensions")

add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E make_directory "${TEST_BINARY_DEST}"
Expand Down

0 comments on commit 93b3a99

Please sign in to comment.