Commit 1d7ede50 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use more target-centric cmake code

GIT_SILENT
parent dda5097d
......@@ -8,20 +8,18 @@ ecm_setup_version(${RELEASE_SERVICE_VERSION}
VERSION_HEADER kmag_version.h
)
set(kmag_SRCS
add_executable(kmag)
target_sources(kmag PRIVATE
kmagzoomview.cpp
kmagselrect.cpp
kmag.cpp
colorsim.cpp
main.cpp
)
qt5_add_resources(kmag_SRCS
kmag.qrc
)
add_executable(kmag ${kmag_SRCS})
target_link_libraries(kmag
KF5::KIOCore
KF5::I18n
......
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