From 871bd4dd31bb3de00626990b58b90ae89856a1d6 Mon Sep 17 00:00:00 2001 From: leolin49 Date: Mon, 9 Dec 2024 17:45:08 +0800 Subject: [PATCH] Feature: add prometheus authentication --- cmake/jwt_cpp.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/jwt_cpp.cmake b/cmake/jwt_cpp.cmake index 3a849a43..6f5dc996 100644 --- a/cmake/jwt_cpp.cmake +++ b/cmake/jwt_cpp.cmake @@ -25,9 +25,9 @@ FetchContent_Declare( FetchContent_GetProperties(jwt_cpp) if(NOT jwt_cpp_POPULATED) - FetchContent_Populate(jwt_cpp) + FetchContent_Populate(jwt-cpp) add_subdirectory(${TRPC_ROOT_PATH}/cmake_third_party/jwt_cpp) - add_library(trpc_jwt_cpp ALIAS jwt_cpp) + add_library(trpc_jwt_cpp ALIAS jwt-cpp) set(TARGET_INCLUDE_PATHS ${TARGET_INCLUDE_PATHS} ${TRPC_ROOT_PATH}/cmake_third_party/jwt_cpp) set(TARGET_LINK_LIBS ${TARGET_LINK_LIBS} jwt_cpp)