Build error

Patrick Spendrin ps_ml at gmx.de
Tue Jan 6 00:18:11 CET 2009


Hi all,

a very common error now and then is the following:
CMake Error at 
/kde-devel/installs/share/apps/cmake/modules/KDELibsLibraryTargets-relwithdebinfo.cmake:10 
(SET_TARGET_PROPERTIES):
   set_target_properties Can not find target to add properties to: 
kdefakes
Call Stack (most recent call first): 

/kde-devel/installs/share/apps/cmake/modules/KDELibsLibraryTargets.cmake:103 
(INCLUDE) 

/kde-devel/installs/share/apps/cmake/modules/FindKDE4Internal.cmake:442 
(include) 

   /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE) 

   CMakeLists.txt:16 (find_package) 

...

This will happen if you change the buildtype (here from relwithdebinfo 
to something else) and you don't remove the installation before.

The short-time solution is to go into 
/kde-devel/installs/share/apps/cmake/modules/ and remove or rename 
KDELibsLibraryTargets-relwithdebinfo.cmake.

Maybe somebody can find a better patch for it?

regards,
Patrick

-- 
web:                 http://windows.kde.org
mailing list:        kde-windows at kde.org
irc:                 #kde-windows (irc.freenode.net)


More information about the Kde-buildsystem mailing list