|
Lines 2-8
Link Here
|
| 2 |
|
2 |
|
| 3 |
find_package(KDE4 REQUIRED) |
3 |
find_package(KDE4 REQUIRED) |
| 4 |
include(KDE4Defaults) |
4 |
include(KDE4Defaults) |
|
|
5 |
|
| 6 |
if ( ${KDE_VERSION} VERSION_LESS "4.1.90" ) |
| 5 |
find_package(Plasma REQUIRED) |
7 |
find_package(Plasma REQUIRED) |
|
|
8 |
else ( ${KDE_VERSION} VERSION_LESS "4.1.90" ) |
| 9 |
set( PLASMA_LIBS ${KDE4_PLASMA_LIBS} ) |
| 10 |
endif ( ${KDE_VERSION} VERSION_LESS "4.1.90" ) |
| 6 |
|
11 |
|
| 7 |
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) |
12 |
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) |
| 8 |
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) |
13 |
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}) |