externals: mark cpp-jwt headers as SYSTEM (#7033)
This commit is contained in:
parent
9ec4954380
commit
b28ade1ee8
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
@ -216,7 +216,7 @@ if (ENABLE_WEB_SERVICE)
|
||||
target_link_libraries(cpp-jwt INTERFACE cpp-jwt::cpp-jwt)
|
||||
else()
|
||||
add_library(cpp-jwt INTERFACE)
|
||||
target_include_directories(cpp-jwt INTERFACE ./cpp-jwt/include)
|
||||
target_include_directories(cpp-jwt SYSTEM INTERFACE ./cpp-jwt/include)
|
||||
target_compile_definitions(cpp-jwt INTERFACE CPP_JWT_USE_VENDORED_NLOHMANN_JSON)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user