[CMake] QT_INCLUDE_DIR not in the cache when using framework
Nicolas Desprès
nicolas.despres at gmail.com
Tue Feb 3 09:43:25 EST 2009
In other word, I would like to know if someone is against requesting
QT_INCLUDE_DIR in the cache when framework are used? If no one, I'll
add a feature request.
Cheers,
Nico
On Tue, Feb 3, 2009 at 1:12 PM, Nicolas Desprès
<nicolas.despres at gmail.com> wrote:
> Hi,
>
> I'm using cmake 2.6.2 on macosx and I'm wondering what is the rational
> behind the fact QT_INCLUDE_DIR is not stored into the cache when using
> framework. Here a quote of FindQt4.cmake:
>
> IF( QT_QTCORE_INCLUDE_DIR AND NOT QT_INCLUDE_DIR)
> IF (QT_USE_FRAMEWORKS)
> SET(QT_INCLUDE_DIR ${QT_HEADERS_DIR})
> ELSE (QT_USE_FRAMEWORKS)
> STRING( REGEX REPLACE "/QtCore$" "" qt4_include_dir
> ${QT_QTCORE_INCLUDE_DIR})
> SET( QT_INCLUDE_DIR ${qt4_include_dir} CACHE PATH "")
> ENDIF (QT_USE_FRAMEWORKS)
> ENDIF( QT_QTCORE_INCLUDE_DIR AND NOT QT_INCLUDE_DIR)
>
> --
> Nicolas Desprès
>
--
Nicolas Desprès
More information about the CMake
mailing list