[CMake] Fwd: How pass a -spec parameter to FindQt4.cmake?

Daniel Näslund dannas at dannas.name
Thu Jul 21 01:22:14 EDT 2011


On Wed, Jul 20, 2011 at 4:52 PM, Eric Noulard <eric.noulard at gmail.com> wrote:
> 2011/7/20 Daniel Näslund <dannas at dannas.name>:
>>    set(QT_HEADERS_DIR /opt/env/lenny-ppc/usr/lib)
>>    set(QT_LIBRARY_DIR /opt/env/lenny-ppc/usr/include/qt4)
>
> May those two should be reversed ?  HEADER seems to point to lib and
> LIBRARY to include?

Oups. Somehow I managed to flip those two. But after correcting that
mistake, I still must point out the exact location of the header and
library for each Qt component I whish to link against.

Thanks,
Daniel


More information about the CMake mailing list