find_package(Wt REQUIRED Dbo) add_library(Database Database.h Database.cpp Session.h Session.cpp Task.h User.h HomeBox.h ) get_filename_component(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) target_include_directories(Database INTERFACE ${PARENT_DIR} ) target_link_libraries(Database PUBLIC sqlite3 PUBLIC Universal PUBLIC Wt::Wt PUBLIC Wt::Dbo PRIVATE Wt::DboSqlite3 )