set(Boost_USE_STATIC_LIBS ON) find_package(Boost 1.62 COMPONENTS date_time REQUIRED) find_package(SQLite3 REQUIRED) set(CORE_SOURCES database.cpp entity.cpp seller.cpp article.cpp sale.cpp marketplace.cpp ) add_library(core STATIC ${CORE_SOURCES}) target_link_libraries(core Boost::boost Boost::date_time) target_link_libraries(core sqlite3) target_include_directories(core PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})