Index: CMakeLists.txt =================================================================== --- CMakeLists.txt.orig +++ CMakeLists.txt @@ -2,6 +2,14 @@ PROJECT(digikam) OPTION(ENABLE_GPHOTO2 "Build digiKam with libgphoto2 support (default=ON)" ON) +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules ) + +# search packages used by KDE +find_package(KDE4 REQUIRED) +include (KDE4Defaults) +include (MacroLibrary) +include(MacroOptionalAddSubdirectory) + # ================================================================================================== # Information to update before to release this package.