-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the tool findcontact working again with new addressprovider.
- Loading branch information
Showing
4 changed files
with
73 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
|
||
# set(findcontact_NAME findcontact) | ||
# set(FINDCONTACT_SRC findcontact.cpp) | ||
set(findcontact_NAME findcontact) | ||
set(FINDCONTACT_SRC findcontact.cpp ../src/addressprovider.cpp ../src/addressprovider_akonadi.cpp) | ||
|
||
# set(AUTOMOC ON) | ||
set(AUTOMOC ON) | ||
|
||
# add_executable(${findcontact_NAME} ${FINDCONTACT_SRC}) | ||
# | ||
# For now there is only the Akonadi based address backend, and thus | ||
# the findcontact tool is only built if akonadi is there. | ||
# If there are other backends, this must be FIXED. | ||
if(KF5Akonadi_FOUND) | ||
add_executable(${findcontact_NAME} ${FINDCONTACT_SRC}) | ||
|
||
# target_link_libraries( ${findcontact_NAME} | ||
# Qt5::Core | ||
# Qt5::Widgets | ||
# ${KDEPIMLIBS_KABC_LIBS} ${KDEPIMLIBS_AKONADI_CONTACT_LIBS} | ||
# ) | ||
target_link_libraries( ${findcontact_NAME} | ||
Qt5::Core | ||
Qt5::Widgets | ||
KF5::Contacts | ||
KF5::AkonadiCore | ||
KF5::AkonadiContact | ||
) | ||
|
||
########### install files ############### | ||
# install(TARGETS ${findcontact_NAME} ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||
########### install files ############### | ||
install(TARGETS ${findcontact_NAME} ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||
endif() | ||
|
||
install(FILES erml2pdf.py DESTINATION ${DATA_INSTALL_DIR}/kraft/tools ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters