Regression in CMake breaking builds

Stephen Kelly steveire at gmail.com
Sun Sep 15 18:24:26 BST 2013


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 for reporting,

Steve.






More information about the kde-core-devel mailing list