Skip to content

Commit

Permalink
Disable Werror for unknown pragmas in tests
Browse files Browse the repository at this point in the history
Closes #2375
  • Loading branch information
horenmar committed Apr 17, 2022
1 parent 62fd660 commit d71b461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/CMakeLists.txt
Expand Up @@ -354,7 +354,7 @@ endif()
if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" )
target_compile_options( SelfTest PRIVATE -Wall -Wextra -Wunreachable-code -Wpedantic -Wmissing-declarations )
if (CATCH_ENABLE_WERROR)
target_compile_options( SelfTest PRIVATE -Werror )
target_compile_options( SelfTest PRIVATE -Werror -Wno-error=pragmas )
endif()
endif()
# Clang specific options go here
Expand Down

0 comments on commit d71b461

Please sign in to comment.