mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
parent
62fd660583
commit
d71b4617e9
@ -354,7 +354,7 @@ endif()
|
|||||||
if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" )
|
if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" )
|
||||||
target_compile_options( SelfTest PRIVATE -Wall -Wextra -Wunreachable-code -Wpedantic -Wmissing-declarations )
|
target_compile_options( SelfTest PRIVATE -Wall -Wextra -Wunreachable-code -Wpedantic -Wmissing-declarations )
|
||||||
if (CATCH_ENABLE_WERROR)
|
if (CATCH_ENABLE_WERROR)
|
||||||
target_compile_options( SelfTest PRIVATE -Werror )
|
target_compile_options( SelfTest PRIVATE -Werror -Wno-error=pragmas )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# Clang specific options go here
|
# Clang specific options go here
|
||||||
|
Loading…
Reference in New Issue
Block a user