From 557177ca47c8dba24f57b53e9833ad5d56aa957f Mon Sep 17 00:00:00 2001 From: Juan Manzanero Date: Tue, 22 Oct 2024 22:44:55 +0200 Subject: [PATCH] [JMT] Update logger installation --- cmake/Findloggercpp.cmake | 2 +- cmake/third-party/loggercpp.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Findloggercpp.cmake b/cmake/Findloggercpp.cmake index 9a7fd87..3a4f0ae 100644 --- a/cmake/Findloggercpp.cmake +++ b/cmake/Findloggercpp.cmake @@ -1,5 +1,5 @@ if (NOT loggercpp_FOUND) - find_path(LOGGERCPP_INCLUDE_DIR logger.hpp PATHS ${CMAKE_BINARY_DIR}/lion/thirdparty/include NO_DEFAULT_PATH) + find_path(LOGGERCPP_INCLUDE_DIR logger.h PATHS ${CMAKE_BINARY_DIR}/lion/thirdparty/include NO_DEFAULT_PATH) if (LOGGERCPP_INCLUDE_DIR) set(loggercpp_FOUND YES) diff --git a/cmake/third-party/loggercpp.cmake b/cmake/third-party/loggercpp.cmake index 78fa5d4..23d9294 100644 --- a/cmake/third-party/loggercpp.cmake +++ b/cmake/third-party/loggercpp.cmake @@ -9,7 +9,7 @@ if ( ${BUILD_LOGGERCPP} ) INSTALL_DIR ${THIRD_PARTY_DIR}/lion/thirdparty CONFIGURE_COMMAND "" BUILD_COMMAND "" - INSTALL_COMMAND cp ${THIRD_PARTY_DIR}/loggercpp/source/logger.h ${THIRD_PARTY_DIR}/loggercpp/source/logger.hpp ${THIRD_PARTY_DIR}/lion/thirdparty/include + INSTALL_COMMAND cp ${THIRD_PARTY_DIR}/loggercpp/source/logger.h ${THIRD_PARTY_DIR}/lion/thirdparty/include ) endif()