aboutsummaryrefslogtreecommitdiff
path: root/lib/addressbar/CMakeLists.txt
blob: 1122bc30298cf9d4c34564e900791a5fdb135f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)

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

add_library(addressbar
    addressbar.cpp
    addressbar.h
    completer.cpp
    completer.h
    urllineedit.cpp
    urllineedit.h
)

#target_include_directories(addressbar
#    PRIVATE ${Boost_INCLUDE_DIRS})

target_link_libraries(addressbar Qt5::Widgets Qt5::WebEngineWidgets)