Enable warnings as errors
cpp-jwt: supress OpenSSL deprecation warnings
This commit is contained in:
parent
06db4ffb17
commit
c66594caf8
2 changed files with 13 additions and 0 deletions
|
@ -102,6 +102,10 @@ else()
|
|||
-Wno-attributes
|
||||
)
|
||||
|
||||
if (CITRA_WARNINGS_AS_ERRORS)
|
||||
add_compile_options(-Werror)
|
||||
endif()
|
||||
|
||||
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||
add_compile_options("-stdlib=libc++")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue