mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-24 03:53:29 +01:00
parent
62fd660583
commit
d71b4617e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user