aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuhapekka Piiroinen <juhapekka.piiroinen@gmail.com>2012-03-06 13:57:16 +0200
committerHugo Parente Lima <hugo.lima@openbossa.org>2012-03-13 18:41:53 +0100
commitfe8dc36f90fe64590f7f13843a076f8d2d61f378 (patch)
treeae6b936d659f8470743a83073fd0a09b379a5f05
parentdb6f1e3306e626b871d6ed1a971638d106648b51 (diff)
Fix bug PYSIDE-6
This should resolve the issue in PYSIDE-6 "Fix phonon VideoCaptureDevice detection to properly use phonon_ namespace". Changed if check in PySideModules.cmake. Change-Id: Ie30d6858a0fc6073560ec4cd09508504cbeb667d Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
-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 4877b12b..2fe6cd16 100644
--- a/cmake/Macros/PySideModules.cmake
+++ b/cmake/Macros/PySideModules.cmake
@@ -71,7 +71,7 @@ macro(check_qt_class module class optional_source_files dropped_entries)
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)