From 74b879187f6bc132f44b0f5adc29766f1abe3a8f Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 4 Jan 2012 14:25:20 +0100 Subject: [PATCH] Revert "WIP: Local hack: compile without kde devel packages", oops. This reverts commit 44215895383cf6aceffa8752e9fa89de56521aad. --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c39b91..b35cf1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,16 +1,16 @@ cmake_minimum_required(VERSION 2.6) # Pretty much nothing works without this project(kdesrc-build) -#find_package(KDE4) # Needed for the docs, but optional. +find_package(KDE4) # Needed for the docs, but optional. -#if (KDE4_FOUND) - #include(KDE4Defaults) - #include(MacroLibrary) - #macro_optional_add_subdirectory(doc) -#else() +if (KDE4_FOUND) + include(KDE4Defaults) + include(MacroLibrary) + macro_optional_add_subdirectory(doc) +else() set(DATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/apps" CACHE PATH "The parent directory where applications can install their data") set(BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "The install dir for executables") -#endif() +endif() install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/kdesrc-build DESTINATION ${BIN_INSTALL_DIR}) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/kdesrc-build-setup DESTINATION ${BIN_INSTALL_DIR})