find kpeople qml module

This commit is contained in:
Nicolas Fella 2020-01-16 17:11:10 +00:00
parent 0f707cc709
commit 894898ec0d

View file

@ -22,6 +22,7 @@ include(ECMSetupVersion)
include(ECMInstallIcons) include(ECMInstallIcons)
include(FeatureSummary) include(FeatureSummary)
include(GenerateExportHeader) include(GenerateExportHeader)
include(ECMQMLModules)
include(KDEConnectMacros.cmake) include(KDEConnectMacros.cmake)
@ -63,6 +64,9 @@ else()
) )
add_definitions(-DHAVE_KIO) add_definitions(-DHAVE_KIO)
ecm_find_qmlmodule(org.kde.people 1.0)
endif() endif()
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII) add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS -DQT_NO_CAST_FROM_ASCII)