Added boost::date_time dependency
This commit is contained in:
parent
6b6dddcaaa
commit
7063637ad4
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
Loading…
Reference in a new issue