summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorKalev Lember <kalev@smartlink.ee>2010-11-26 23:31:14 +0200
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-11-26 18:55:57 -0300
commit0d60daf1e1a6edd95b58c7bdd33da8f4c1629c90 (patch)
treead70cf976fb3ed7b2dad07722ce7a624c08645a8 /cmake
parentdadd07ccd733ce3d7eb27dcf08791fb256bcd981 (diff)
downloadpyside-0d60daf1e1a6edd95b58c7bdd33da8f4c1629c90.tar.gz
pyside-0d60daf1e1a6edd95b58c7bdd33da8f4c1629c90.tar.xz
pyside-0d60daf1e1a6edd95b58c7bdd33da8f4c1629c90.zip
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>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Macros/PySideModules.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Macros/PySideModules.cmake b/cmake/Macros/PySideModules.cmake
index 639a0ab..1686df8 100644
--- a/cmake/Macros/PySideModules.cmake
+++ b/cmake/Macros/PySideModules.cmake
@@ -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)