Lines 4-11
Link Here
|
4 |
find_package(GMP REQUIRED) |
4 |
find_package(GMP REQUIRED) |
5 |
find_package(QCA2 REQUIRED) |
5 |
find_package(QCA2 REQUIRED) |
6 |
find_package(Strigi REQUIRED) |
6 |
find_package(Strigi REQUIRED) |
7 |
macro_optional_find_package(Plasma) |
7 |
|
8 |
macro_log_feature(PLASMA_FOUND "Plasma" "Plasma libraries and header files" "http://plasma.kde.org/" FALSE "" "Plasma is needed for KTorrent Plasmoid") |
8 |
# backward compatibility to <= KDE 4.1 |
|
|
9 |
MACRO_ENSURE_VERSION( "4.1.83" ${KDE_VERSION} KDE_VERSION_OK) |
10 |
if(NOT KDE_VERSION_OK) |
11 |
macro_optional_find_package(Plasma) |
12 |
macro_log_feature(PLASMA_FOUND "Plasma" "Plasma libraries and header files" "http://plasma.kde.org/" FALSE "" "Plasma is needed for KTorrent Plasmoid") |
13 |
else(NOT KDE_VERSION_OK) |
14 |
set(PLASMA_FOUND true) |
15 |
set(PLASMA_LIBS ${KDE4_PLASMA_LIBS}) |
16 |
endif(NOT KDE_VERSION_OK) |
9 |
|
17 |
|
10 |
# set some default settings |
18 |
# set some default settings |
11 |
include(KDE4Defaults) |
19 |
include(KDE4Defaults) |
12 |
|
20 |
|