aboutsummaryrefslogtreecommitdiff
path: root/config/CMakeLists.txt
blob: 7ee13b0ea49ad069cbec4e5c32b05b3f6ead1f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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_executable(poi-config
        main.cpp
        settingsdialog.cpp
        settingsdialog.h
)

target_include_directories(poi-config
        PRIVATE ../lib/configuration
        PRIVATE ${Boost_INCLUDE_DIRS}
)

target_link_libraries(poi-config
        Qt5::Core Qt5::Widgets
        ${Boost_LIBRARIES}
        configuration
)

install(TARGETS poi-config RUNTIME DESTINATION bin CONFIGURATIONS Release)