Commit 37a50759 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use target_sources here too

parent 29f6a94b
......@@ -369,8 +369,8 @@ set_target_properties(kmailprivate
)
########### kcm_kmail ###############
set(kcm_kmail_PART_SRCS kcm_kmail.cpp)
add_library(kcm_kmail_static STATIC ${kcm_kmail_PART_SRCS})
target_sources(kcm_kmail_static PRIVATE kcm_kmail.cpp)
pim_target_precompile_headers(kcm_kmail_static PUBLIC ../kmail_pch.h)
target_link_libraries(kcm_kmail_static kmailprivate KF5::KCMUtils KF5::Completion KF5::I18n KF5::TextWidgets)
......
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