Wonder why I have never seen this before but with CMake 2.8.x and a Qt4 based project on OS X when finding the Qt4 frameworks only the release version is found, ie, the Debug version that is located inside the framework is NOT found by default. My question is: is this a bug, a "feature" or should I be using the DYLD_IMAGE_SUFFIX environment variable instead?

 The offending code is in the FindQt4.cmake file around lines 772:

FIND_LIBRARY(QT_${_upper_qt_module}_LIBRARY_DEBUG
NAMES ${QT_MODULE}${QT_LIBINFIX}_debug ${QT_MODULE}$ {QT_LIBINFIX}d ${QT_MODULE}${QT_LIBINFIX}d4
                 PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH
        )

I would imagine that the cmake code above is going to try and find QtCore_debug.framework and NOT QtCore.framework/versions/current/ QtCore_debug

 Thoughts?
___________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jack...@bluequartz.net
BlueQuartz Software               Dayton, Ohio


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to