Commit aab03dd4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use more target centric cmake code

parent f86712d2
set(skanlite_SRCS showimagedialog.cpp
add_executable(skanlite ${skanlite_SRCS})
target_sources(skanlite PRIVATE showimagedialog.cpp
skanlite.cpp
ImageViewer.cpp
DBusInterface.h
......@@ -12,15 +13,14 @@ set(skanlite_SRCS showimagedialog.cpp
SaveLocation.h
main.cpp)
ki18n_wrap_ui(skanlite_SRCS settings.ui SaveLocation.ui)
ki18n_wrap_ui(skanlite settings.ui SaveLocation.ui)
ecm_qt_declare_logging_category(skanlite_SRCS
ecm_qt_declare_logging_category(skanlite
HEADER skanlite_debug.h
IDENTIFIER SKANLITE_LOG
CATEGORY_NAME org.kde.skanlite
)
add_executable(skanlite ${skanlite_SRCS})
target_link_libraries(skanlite
PUBLIC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment