Added boost::date_time dependency

This commit is contained in:
Martin Brodbeck 2018-07-12 13:34:38 +02:00
parent 6b6dddcaaa
commit 7063637ad4

View file

@ -1,6 +1,6 @@
find_package(Boost 1.62 REQUIRED) find_package(Boost 1.62 COMPONENTS date_time REQUIRED)
find_package(SQLite3 REQUIRED) find_package(SQLite3 REQUIRED)
#set(CORE_HEADERS #set(CORE_HEADERS
@ -13,8 +13,9 @@ set(CORE_SOURCES
entity.cpp entity.cpp
seller.cpp seller.cpp
article.cpp article.cpp
sale.cpp
) )
add_library(core STATIC ${CORE_SOURCES}) 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) target_link_libraries(core sqlite3)