Skip to content

Commit

Permalink
Fix GCC build in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryAWE committed May 16, 2024
1 parent 5cbbd43 commit 86a5cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/papilio_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ target_compile_options(papilio_test INTERFACE
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wall -Wextra -Wpedantic -Werror>
# Workaround for GCC and GoogleTest, see https://github.com/google/googletest/issues/4232
$<$<CXX_COMPILER_ID:GNU>:-Wno-error=restrict>
$<$<CXX_COMPILER_ID:GNU>:-Wno-error=restrict -Wno-restrict>
)
# Force UTF-8 on MSVC
target_compile_options(papilio_test INTERFACE
Expand Down

0 comments on commit 86a5cab

Please sign in to comment.