Fix bug #10114. Find phonon on some installations.

This commit is contained in:
Clinton Stimpson 2010-01-13 17:34:31 -05:00
parent e46e8fb937
commit 55a3967eda
1 changed files with 10 additions and 0 deletions

View File

@ -670,6 +670,16 @@ IF (QT4_QMAKE_FOUND)
${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers
NO_DEFAULT_PATH
)
# phonon doesn't seem consistent, let's try phonondefs.h for some
# installations
IF(${QT_MODULE} STREQUAL "phonon")
FIND_PATH(QT_${_upper_qt_module}_INCLUDE_DIR phonondefs.h
PATHS
${QT_HEADERS_DIR}/${QT_MODULE}
${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers
NO_DEFAULT_PATH
)
ENDIF(${QT_MODULE} STREQUAL "phonon")
ENDFOREACH(QT_MODULE)
IF(WIN32)