I'm curious what do you need it for?

Clint

Nicolas Desprès wrote:
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
<[email protected]> 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






_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to