From b28ade1ee8dfd3ba7ed85d43f3f18880fbf2c102 Mon Sep 17 00:00:00 2001
From: Castor215 <132155746+Castor215@users.noreply.github.com>
Date: Tue, 3 Oct 2023 09:19:18 +0100
Subject: [PATCH] externals: mark cpp-jwt headers as SYSTEM (#7033)

---
 externals/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 25f864e0f..b81b3fe9b 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -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()