DBusMenuQt cmake *Config
Sebastian Kügler
sebas at kde.org
Tue Oct 22 12:00:29 UTC 2013
Hi Aurelien,
Let's try again to finally get this resolved. :)
Attached, the necessary cmake foo to have find_package(DBusMenuQt NO_MODULE)
work like other frameworks do.
The .diff should work, but someone had problems applying it during testing, so
I've attached the whole files as well. (Maybe I missed some bzr diff option.)
Could you get this merged? If you want to test: kde-
workspace/plasma/generic/dataengines/CMakeLists.txt uses this, builds fine in
both cases (with and without DBusMenuQt). I need this for the
statusnotifieritem portion of the systemtray.
Thanks,
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbusmenu-qt-cmake-config.diff
Type: text/x-patch
Size: 4456 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131022/32ea25af/attachment.diff>
-------------- next part --------------
@PACKAGE_INIT@
# Any changes in this ".cmake" file will be overwritten by CMake, the source is the ".cmake.in" file.
set(DBusMenuQt_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
set_and_check(DBusMenuQt_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
include("${CMAKE_CURRENT_LIST_DIR}/DBusMenuQtTargets.cmake")
set(DBusMenuQt_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include/dbusmenu-qt/")
set(DBusMenuQt_FOUND TRUE)
set(DBusMenuQt_INCLUDE_DIRS ${DBusMenuQt_INCLUDE_DIR})
set(DBusMenuQt_LIBRARY dbusmenu-qt)
set(DBusMenuQt_LIBRARIES dbusmenu-qt)
#set(DBusMenuQt_LIBRARIES DBusMenuQt)
message(" XXXXXXXXXXXXXXXXXX DBUSMENU --- ${DBusMenuQt_INCLUDE_DIR} ${DBusMenuQt_LIBRARIES}")
#get_target_property(KConfig_KCFGC_EXECUTABLE KF5::kconfig_compiler LOCATION)
#include("${CMAKE_CURRENT_LIST_DIR}/KConfigMacros.cmake")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.txt
Type: text/x-cmake
Size: 4103 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131022/32ea25af/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.txt
Type: text/x-cmake
Size: 3178 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20131022/32ea25af/attachment-0001.bin>
More information about the Kde-frameworks-devel
mailing list