From 6f0651cff7a7f80f27c7f9e11f9f969f9a4032bb Mon Sep 17 00:00:00 2001 From: milanzlicic Date: Fri, 12 Apr 2024 14:24:27 +0200 Subject: [PATCH] spdlog --- CMakeLists.txt | 2 +- dependencies/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1eea2f5..0097aeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -215,7 +215,7 @@ target_include_directories(${PROJECT_NAME}Utility SYSTEM PRIVATE ${CMAKE_PREFIX_ target_include_directories(${PROJECT_NAME}Utility PUBLIC $ $) set_target_properties(${PROJECT_NAME}Utility PROPERTIES INSTALL_RPATH "$ORIGIN") set_target_properties(${PROJECT_NAME}Utility PROPERTIES VERSION ${WOLKSDK_VERSION_STRING} SOVERSION ${WOLKSDK_VERSION_MAJOR}.${WOLKSDK_VERSION_MINOR}.${WOLKSDK_VERSION_PATCH}) -add_dependencies(${PROJECT_NAME}Utility libspdlog) +add_dependencies(${PROJECT_NAME}Utility spdlog) list(APPEND INSTALL_TARGETS ${PROJECT_NAME}Utility) diff --git a/dependencies/CMakeLists.txt b/dependencies/CMakeLists.txt index 88c7a8a..c7d15cb 100644 --- a/dependencies/CMakeLists.txt +++ b/dependencies/CMakeLists.txt @@ -9,8 +9,8 @@ set(AWS_SDK_VERSION "1.8.173") set(NLOHMANN_JSON_VERSION "3.7.3") set(JSON_SCHEMA_VERSION "2.1.0") -if (NOT TARGET libspdlog) - ExternalProject_Add(libspdlog +if (NOT TARGET spdlog) + ExternalProject_Add(spdlog GIT_REPOSITORY "https://github.com/gabime/spdlog" GIT_TAG "v${SPDLOG_VERSION}" CMAKE_ARGS