From dff35490af815f7ab6b873ac5af7c6e672f57fe2 Mon Sep 17 00:00:00 2001 From: Peter M. Groen Date: Sun, 15 Jan 2023 18:43:35 +0100 Subject: [PATCH] Added logger library --- CMakeLists.txt | 1 + src/CMakeLists.txt | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f216b87..460e0f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ project(osdev_qt-bluetooth) include(projectheader) project_header(osdev_qt-bluetooth) +add_subdirectory(submodules/logger) add_subdirectory(src) add_subdirectory(tests) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 93d2269..7f5d043 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake) +LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake) include(projectheader) project_header(bluetooth) @@ -14,7 +14,7 @@ include_directories( SYSTEM include(compiler) include_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/../submodules/logutils/src + ${CMAKEi_SOURCE_DIR}/submodules/logger/src ) set(SRC_LIST @@ -42,6 +42,7 @@ include(library) add_libraries( ${Qt5Core_LIBRARIES} ${Qt5Bluetooth_LIBRARIES} + logger ) include(installation) -- libgit2 0.21.4