1 | | if(Qt5Core_FOUND) |
2 | | find_package(KF5CoreAddons NO_MODULE QUIET) |
3 | | set_package_properties(KF5CoreAddons PROPERTIES |
4 | | TYPE OPTIONAL |
5 | | DESCRIPTION "KDE KCoreAddons Framework" |
6 | | URL "http://www.kde.org/" |
7 | | PURPOSE "Required for the KJob tracker plug-in." |
8 | | ) |
9 | | else() |
10 | | # ugly workaround for FindKDE4Internal messing with the install rpath (https://github.com/KDAB/GammaRay/issues/36) |
11 | | set(_old_CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}) |
12 | | find_package(KDE4) |
13 | | set(CMAKE_INSTALL_RPATH ${_old_CMAKE_INSTALL_RPATH}) |
14 | | |
15 | | set_package_properties(KDE4 PROPERTIES |
16 | | TYPE OPTIONAL |
17 | | DESCRIPTION "KDE libraries" |
18 | | URL "http://www.kde.org/" |
19 | | PURPOSE "Required for the KJob tracker plug-in." |
20 | | ) |
21 | | endif() |
| 1 | #if(Qt5Core_FOUND) |
| 2 | # find_package(KF5CoreAddons NO_MODULE QUIET) |
| 3 | # set_package_properties(KF5CoreAddons PROPERTIES |
| 4 | # TYPE OPTIONAL |
| 5 | # DESCRIPTION "KDE KCoreAddons Framework" |
| 6 | # URL "http://www.kde.org/" |
| 7 | # PURPOSE "Required for the KJob tracker plug-in." |
| 8 | # ) |
| 9 | #else() |
| 10 | # # ugly workaround for FindKDE4Internal messing with the install rpath (https://github.com/KDAB/GammaRay/issues/36) |
| 11 | # set(_old_CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_RPATH}) |
| 12 | # find_package(KDE4) |
| 13 | # set(CMAKE_INSTALL_RPATH ${_old_CMAKE_INSTALL_RPATH}) |
| 14 | # |
| 15 | # set_package_properties(KDE4 PROPERTIES |
| 16 | # TYPE OPTIONAL |
| 17 | # DESCRIPTION "KDE libraries" |
| 18 | # URL "http://www.kde.org/" |
| 19 | # PURPOSE "Required for the KJob tracker plug-in." |
| 20 | # ) |
| 21 | #endif() |