Enable warnings as errors
cpp-jwt: supress OpenSSL deprecation warnings
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user