Hi,
> Back to the simple CMakeLists.txt:
>
> find_package(Qt4)
> if(QT_QTDECLARATIVE_FOUND)
> message("found it")
> endif()
>
> find_package(Qt4)
> if(QT_QTDECLARATIVE_FOUND)
> message("found it again")
> endif()
Result:
found it
found it again
Best Regards,
Laszlo Papp