blob: eec2545295dcb55f5ac39c1baf1c654c32dac968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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(about
aboutdialog.cpp
aboutdialog.h
aboutdialog.ui
)
target_include_directories(about
PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(about Qt5::Widgets)
|