- diff --git a/CMakeLists.txt b/CMakeLists.txt
- index 78e23aa..bf1775c 100644
- --- a/CMakeLists.txt
- +++ b/CMakeLists.txt
- @@ -113,10 +113,11 @@ endif(BUILD_GLUON_PLAYER)
- set(KDE_FAILED FALSE)
- ######## KDE Parts ########
- -if(BUILD_PLASMOID OR BUILD_GLUON_CREATOR OR WITH_KDE)
- +if(BUILD_GLUON_PLAYER_ACTIVE OR BUILD_PLASMOID OR BUILD_GLUON_CREATOR OR WITH_KDE)
- find_package(KDE4)
- if(NOT KDE4_FOUND)
- set(BUILD_PLASMOID OFF)
- + set(BUILD_GLUON_PLAYER_ACTIVE OFF)
- set(BUILD_GLUON_CREATOR OFF)
- set(KDE_FAILED TRUE)
- set(WITH_KDE FALSE)
- @@ -165,6 +166,7 @@ if(BUILD_GLUON_ENGINE)
- message(STATUS " Build other Components (BUILD_OTHER_COMPONENTS): ${BUILD_OTHER_COMPONENTS}")
- message(STATUS " Build other Assets (BUILD_OTHER_ASSETS): ${BUILD_OTHER_ASSETS}")
- endif()
- +message(STATUS "Build Gluon Player for Plasma Active (BUILD_GLUON_PLAYER_ACTIVE): ${BUILD_GLUON_PLAYER_ACTIVE}")
- message(STATUS "Build Gluon Player Library and Qt Application (BUILD_GLUON_PLAYER): ${BUILD_GLUON_PLAYER}")
- message(STATUS "Build Gluon Player Plasmoid (BUILD_PLASMOID): ${BUILD_PLASMOID}")
- message(STATUS "Build Gluon Creator Application (BUILD_GLUON_CREATOR): ${BUILD_GLUON_CREATOR}")
- diff --git a/player/CMakeLists.txt b/player/CMakeLists.txt
- index b4ceea9..53f9729 100644
- --- a/player/CMakeLists.txt
- +++ b/player/CMakeLists.txt
- @@ -60,12 +60,17 @@ if(LIBATTICA_FOUND)
- endif()
- if(BUILD_GLUON_PLAYER_ACTIVE)
- + set(ACTIVE_KDE_MIN_VERSION 4.8.0)
- find_package(KDE4)
- if(KDE4_FOUND)
- - include_directories(${KDE4_INCLUDES})
- - add_subdirectory(active)
- + if(NOT ${KDE_VERSION} VERSION_LESS ACTIVE_KDE_MIN_VERSION)
- + include_directories(${KDE4_INCLUDES})
- + add_subdirectory(active)
- + else(NOT ${KDE_VERSION} VERSION_LESS ACTIVE_KDE_MIN_VERSION)
- + message(STATUS "KDE libraries are very old (need >= ${ACTIVE_KDE_MIN_VERSION}) to build the Plasma Active Player")
- + endif(NOT ${KDE_VERSION} VERSION_LESS ACTIVE_KDE_MIN_VERSION)
- else(KDE4_FOUND)
- - message(STATUS "KDE libraries are not found - not building the Plasmoid Active Player")
- + message(STATUS "KDE libraries are not found - not building the Plasma Active Player")
- endif(KDE4_FOUND)
- endif()