summaryrefslogtreecommitdiffstats
path: root/cmake/Macros/PySideModules.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Macros/PySideModules.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)