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)