aboutsummaryrefslogtreecommitdiff
path: root/lib/downloads/CMakeLists.txt
blob: ad1a3fef331c5e0a5e36ad0e893f370350990bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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(downloads
        downloadsform.ui
        downloadswidget.cpp
        downloadswidget.h
        widgets/downloaditemform.ui
        widgets/downloaditemwidget.cpp
        widgets/downloaditemwidget.h
        widgets/elidedlabel.cpp
        widgets/elidedlabel.h)

target_link_libraries(downloads Qt5::Widgets Qt5::WebEngineWidgets)