Fix phonon VideoCaptureDevice detection to properly use phonon_ namespace

Fixes build with phonon 4.4.3 on Fedora rawhide.

Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Hugo Parente Lima <hugo.pl@gmail.com>
This commit is contained in:
Kalev Lember 2010-11-26 23:31:14 +02:00 committed by Renato Araujo Oliveira Filho
commit 0d60daf1e1

View file

@ -58,7 +58,7 @@ macro(check_qt_class module class global_sources)
endif ()
string(TOLOWER ${class} _class)
string(TOUPPER ${module} _module)
if (${namespace})
if (_namespace)
set(_cppfile ${CMAKE_CURRENT_BINARY_DIR}/PySide/${module}/${_namespace}_${_class}_wrapper.cpp)
else ()
set(_cppfile ${CMAKE_CURRENT_BINARY_DIR}/PySide/${module}/${_class}_wrapper.cpp)