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()