From 7063637ad4ac2295a209d20ec606b03465a14131 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Thu, 12 Jul 2018 13:34:38 +0200 Subject: [PATCH] Added boost::date_time dependency --- src/core/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 79057d2..e238864 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1,6 +1,6 @@ -find_package(Boost 1.62 REQUIRED) +find_package(Boost 1.62 COMPONENTS date_time REQUIRED) find_package(SQLite3 REQUIRED) #set(CORE_HEADERS @@ -13,8 +13,9 @@ set(CORE_SOURCES entity.cpp seller.cpp article.cpp + sale.cpp ) add_library(core STATIC ${CORE_SOURCES}) -target_link_libraries(core Boost::boost) +target_link_libraries(core Boost::boost Boost::date_time) target_link_libraries(core sqlite3) \ No newline at end of file