[kdelibs/KDE/4.14] cmake/modules: Remove policy settings from FindKDE4Internal.

Luigi Toscano luigi.toscano at tiscali.it
Mon Jul 20 22:19:08 BST 2015


Allen Winter ha scritto:
> Stephen,
> 
> For years I have passed -DKDE4_ENABLE_HTMLHANDBOOK=1 to cmake when building KDE projects.
> As of today I get this error:
> 
> CMake Error at cmake/modules/KDE4Macros.cmake:315 (add_custom_target):
>   add_custom_target cannot create target "htmlhandbook" because another
>   target with the same name already exists.  The existing target is a custom
>   target created in source directory
>   "/data/mykde/src/KDE/kdelibs/doc/kioslave/data".  See documentation for
>   policy CMP0002 for more details.
> Call Stack (most recent call first):
>   doc/kioslave/file/CMakeLists.txt:2 (kde4_create_handbook)
> 
> As I recall, KDE4_ENABLE_HTMLHANDBOOK automagically created the html versions of the handbooks
> which I found quite handy.  In any event, should I stop passing variable now? or is this something you can fix?
> 

Maybe it could be the same issue fixed in kdoctools (but I think never
backported):

https://git.reviewboard.kde.org/r/116650/
http://quickgit.kde.org/?p=kdoctools.git&a=commit&h=8aad0fb7aaa3bbb9da8801d2d12f3396f74569d5

Does it look the same?

Ciao
-- 
Luigi




More information about the kde-core-devel mailing list