diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-09 14:01:51 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-09 16:48:35 -0300 |
commit | 009b6a8e9a70db61ad4b9d1021dd2ee4f9cdb650 (patch) | |
tree | ec9278a8fcea6dfe26542ed41f0b5a61dca0b9c6 | |
parent | bf8a60db4cdbfc3e7c9c98778b219e9c83746d44 (diff) | |
download | shiboken-009b6a8e9a70db61ad4b9d1021dd2ee4f9cdb650.tar.gz shiboken-009b6a8e9a70db61ad4b9d1021dd2ee4f9cdb650.tar.xz shiboken-009b6a8e9a70db61ad4b9d1021dd2ee4f9cdb650.zip |
Fix cmake detection of phonon on MacOSX.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Renato Araújo <renato.araujo@openbossa.org>
-rw-r--r-- | PySide/phonon/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/phonon/CMakeLists.txt b/PySide/phonon/CMakeLists.txt index 01b1f6ab..73920638 100644 --- a/PySide/phonon/CMakeLists.txt +++ b/PySide/phonon/CMakeLists.txt @@ -1,5 +1,10 @@ project(phonon) +# workaround for a cmake bug under MacOSX, it finds phonon but not the include path +if (NOT QT_PHONON_INCLUDE_DIR AND CMAKE_HOST_APPLE) + set(QT_PHONON_INCLUDE_DIR "${QT_LIBRARY_DIR}/phonon.framework/Headers") +endif() + set(phonon_SRC ${CMAKE_CURRENT_BINARY_DIR}/PySide/phonon/phonon_abstractaudiooutput_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/phonon/phonon_abstractmediastream_wrapper.cpp |