[Kmymoney-devel] cmake errors
David Houlden
djhoulden at gmail.com
Wed May 19 16:40:59 CEST 2010
OK. I've been investigating a bit more. These errors only occur if I use the
CMakeLists.txt which I get from running createtarball.rb. I do this so I can
build kmymoney from source with all the documentation. I'm just following the
instructions to do this which Alvaro posted here back in March. Should I be
doing something different since the release of 3.98?
Thanks,
Dave.
On Tuesday 18 May 2010 David Houlden wrote:
> Hi,
>
> I have been building the svn version for a very long time with few problems
> but tonight I did an svn update to 1128271 and then got errors when running
> cmake .. in my build directory. Here are some of the errors.
>
> CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:229
> (ADD_CUSTOM_TARGET):
> add_custom_target cannot create target "pofiles" because another target
> with the same name already exists. The existing target is a custom
> target created in source directory
> "/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/po/bg". See
> documentation for policy CMP0002 for more details.
> Call Stack (most recent call first):
> po/ca/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)
>
>
> CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:229
> (ADD_CUSTOM_TARGET):
> add_custom_target cannot create target "pofiles" because another target
> with the same name already exists. The existing target is a custom
> target created in source directory
> "/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/po/bg". See
> documentation for policy CMP0002 for more details.
> Call Stack (most recent call first):
> po/ca at valencia/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)
>
>
> CMake Error at /usr/share/apps/cmake/modules/FindGettext.cmake:229
> (ADD_CUSTOM_TARGET):
> add_custom_target cannot create target "pofiles" because another target
> with the same name already exists. The existing target is a custom
> target created in source directory
> "/usr/local/src/extras/kmymoney-svn-kde4/kmymoney/po/bg". See
> documentation for policy CMP0002 for more details.
> Call Stack (most recent call first):
> po/cs/CMakeLists.txt:2 (GETTEXT_PROCESS_PO_FILES)
>
> Any ideas what has gone wrong? The svn update appears to have updated my
> CMakeLists.txt.
>
> Thanks,
> Dave.
More information about the KMyMoney-devel
mailing list