[CMake] Problem when calling FIND_PACKAGE(Qt) twice inside a project

Alexander Neundorf a.neundorf-work at gmx.net
Fri Jul 13 10:04:32 EDT 2007


On Friday 13 July 2007 04:14, Christian Ehrlicher wrote:
> Hi,
>
> When FIND_PACKAGE(QT) is called twice (e.g. in cmake source root and a
> subdirectory) I sometimes get this error:

Sometimes ? That's bad.
Can you try to create a minimal testcase ?
Simply 
find_package(Qt4)
find_package(Qt4)
add_subdirectory(sub1)

and in sub1 searching it again doesn't show a problem here (with cmake 2.4.6 
and FindQt4.cmake from cmake).

Bye
Alex


More information about the CMake mailing list