diff --git a/CMakeLists.txt b/CMakeLists.txt index 733cfda..9925628 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,8 @@ project(osdev_crypter) include(projectheader) project_header(osdev_crypter) +add_subdirectory(${CMAKE_SOURCE_DIR}/submodules/logger) + add_subdirectory(src) add_subdirectory(tests) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5b0681..36e4d8d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,10 +3,8 @@ LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake) include(projectheader) project_header(crypter) -find_package( Qt5Core REQUIRED ) include_directories( SYSTEM - ${Qt5Core_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/submodules/logger/src ) @@ -25,7 +23,6 @@ link_directories( include(library) add_libraries( - ${Qt5Core_LIBRARIES} crypto logger )