[Kmymoney-devel] Review Request 123932: Support for CMake 3.2+

Cristian Oneț onet.cristian at gmail.com
Sat Jun 6 10:54:06 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123932/#review81261
-----------------------------------------------------------



CMakeLists.txt (line 61)
<https://git.reviewboard.kde.org/r/123932/#comment55673>

    CMake Error at CMakeLists.txt:61 (add_executable):
      add_executable cannot create imported target "Qt4::moc" because another
      target with the same name already exists.
    
    cmake --version
    cmake version 2.8.12.2


- Cristian Oneț


On Mai 29, 2015, 6:53 a.m., Thomas Baumgart wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123932/
> -----------------------------------------------------------
> 
> (Updated Mai 29, 2015, 6:53 a.m.)
> 
> 
> Review request for KMymoney, Alvaro Soliverez, Cristian Oneț, and Marko Käning.
> 
> 
> Repository: kmymoney
> 
> 
> Description
> -------
> 
> Recently my distro updated cmake to version 3.2.2 and I had trouble to build KMyMoney. The attached patch solves the problem for me, but before I add it to the repository for all others, I want to make sure it works with older versions of CMake (e.g. 2.8) as well.
> 
> So please give it a spin and report your findings. Thank you in advance.
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt d11b562 
> 
> Diff: https://git.reviewboard.kde.org/r/123932/diff/
> 
> 
> Testing
> -------
> 
> Ran it with cmake 3.2
> 
> 
> Thanks,
> 
> Thomas Baumgart
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20150606/fc3df0f5/attachment.html>


More information about the KMyMoney-devel mailing list