find_package(Wt REQUIRED Wt) add_library(WebApplication Application.h Application.cpp BulmaTheme.h BulmaTheme.cpp HomePage.h HomePage.cpp LoginPage.h LoginPage.cpp NavigationBar.h NavigationBar.cpp VisitorRecordsPage.h VisitorRecordsPage.cpp VisitorRecordTableModel.h VisitorRecordTableModel.cpp Restful.h Restful.cpp Dialog.h Dialog.cpp ) get_filename_component(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) target_include_directories(WebApplication INTERFACE ${PARENT_DIR} ) target_link_libraries(WebApplication PUBLIC Universal PRIVATE Wt::HTTP PRIVATE Database )