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:        [email protected]
irc:                 #kde-windows (irc.freenode.net)
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to