mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +00:00
Fix bug #10114. Find phonon on some installations.
This commit is contained in:
parent
e46e8fb937
commit
55a3967eda
@ -670,6 +670,16 @@ IF (QT4_QMAKE_FOUND)
|
|||||||
${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers
|
${QT_LIBRARY_DIR}/${QT_MODULE}.framework/Headers
|
||||||
NO_DEFAULT_PATH
|
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)
|
ENDFOREACH(QT_MODULE)
|
||||||
|
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user