# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)

# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)

add_library(web
    webprofile.cpp
    webprofile.h

    urlfilter/filterrule.cpp
    urlfilter/filterrule.h

    urlfilter/adblockrule.cpp
    urlfilter/adblockrule.h
)

target_link_libraries(web Qt5::WebEngineWidgets)