From f71e853054fa403f26cdb436e6a1b70a0f836bf9 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sat, 25 Jun 2022 05:11:57 -0400 Subject: [PATCH] externals: Update cpp-jwt to e12ef062 (#6051) Resolves compilation errors when compiling with C++20 --- externals/CMakeLists.txt | 1 + externals/cpp-jwt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 31083d53f..99b531006 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -131,6 +131,7 @@ if (ENABLE_WEB_SERVICE) # cpp-jwt add_library(cpp-jwt INTERFACE) target_include_directories(cpp-jwt INTERFACE ./cpp-jwt/include) + target_compile_definitions(cpp-jwt INTERFACE CPP_JWT_USE_VENDORED_NLOHMANN_JSON) endif() # lodepng diff --git a/externals/cpp-jwt b/externals/cpp-jwt index 6e27aa4c8..e12ef0621 160000 --- a/externals/cpp-jwt +++ b/externals/cpp-jwt @@ -1 +1 @@ -Subproject commit 6e27aa4c8671e183f11e327a2e1f556c64fdc4a9 +Subproject commit e12ef06218596b52d9b5d6e1639484866a8e7067