blob: 3a1ab2d1c170244523e8a4eaeb2798e2305d280f (
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(addressbar
addressbar.cpp
addressbar.h
addressbar.ui
completer.cpp
completer.h
urllineedit.cpp
urllineedit.h
)
target_link_libraries(addressbar Qt5::Widgets)
|