[CMake] include fin_package(qt4) more than once
Clinton Stimpson
clinton at elemtech.com
Thu Jan 22 13:05:59 EST 2009
Jorge Morales wrote:
> I have many projects and some of them need Qt. I want to include the
> qt directories only on those projects. is ok to add a find_package
> into each project?
>
Yes, its perfectly find to do that.
Another option, if each of those projects are not independent, is to do
one find_package(Qt4) at the top, then only include the ${QT_USE_FILE}
on those projects that need Qt.
Clint
More information about the CMake
mailing list