From 0d60daf1e1a6edd95b58c7bdd33da8f4c1629c90 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 26 Nov 2010 23:31:14 +0200 Subject: [PATCH] Fix phonon VideoCaptureDevice detection to properly use phonon_ namespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes build with phonon 4.4.3 on Fedora rawhide. Reviewer: Renato Araújo Hugo Parente Lima --- cmake/Macros/PySideModules.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)