[Digikam-devel] Problem compiling libkdcraw: Unknown CMake command "KDE4_INSTALL_ICONS"

Julien Narboux jnarboux at narboux.fr
Tue Mar 30 16:33:10 BST 2010


I am running Ubuntu karmic with kde 4.3.5, when I try to compile 
kdegraphics/libs/ I get the following error :

cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config 
--prefix` ..
CMake Error at libkipi/CMakeLists.txt:60 (INSTALL):
  install FILES given no DESTINATION!

CMake Error at libkipi/pics/CMakeLists.txt:1 (KDE4_INSTALL_ICONS):
  Unknown CMake command "KDE4_INSTALL_ICONS".

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.8)

  should be added at the top of the file.  The version specified may be 
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

I tried to install kdelibs4-dev instead of kdelibs5-dev but It does not 
solve the problem.

Does anyone know how to solve this ?


More information about the Digikam-devel mailing list