Regression in CMake breaking builds

Ben Cooksley bcooksley at kde.org
Sun Sep 15 21:56:18 BST 2013


On Mon, Sep 16, 2013 at 5:24 AM, Stephen Kelly <steveire at gmail.com> wrote:
> Alexander Neundorf wrote:
>> It looks like it is related to using imported targets in try_compile():
>>
>> -- Enabling c++0x support for unordered map
>> CMake Error at cmTryCompileExec236800853Targets.cmake:96 (add_library):
>>   add_library cannot create imported target "Qt4::QtGui" because another
>>   target with the same name already exists.
>> Call Stack (most recent call first):
>>   CMakeLists.txt:11 (include)
>
> Mea culpa.
>
> Fixed now in next:
>
>  http://thread.gmane.org/gmane.comp.programming.tools.cmake.scm/7716

Thanks Steve, build.kde.org has now rebuilt it's CMake from latest next.
All builds appear to be succeeding as expected.

>
> Thanks for reporting,
>
> Steve.
>
>

Regards,
Ben




More information about the kde-core-devel mailing list