Comment 20 for bug 832864

Revision history for this message
Barry Warsaw (barry) wrote :

Didier, could you take a look at PySide/phonon/CMakeLists.txt and tell me what the top of the file says. Here's what I've got:

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_OPTIONAL_SRC )
set(phonon_DROPPED_ENTRIES )
check_qt_class(phonon VideoCaptureDevice phonon_OPTIONAL_SRC phonon_DROPPED_ENTRIES Phonon ObjectDescription)

Now, I don't know cmake very well, but from a quick scan of its documentation, the two set() commands look suspicious. It seems to me that it's setting those variables to the empty string. I have no idea if that's right or not, but I'd love to compare that against what you have.