aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2010-08-20 14:22:39 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-20 18:10:25 -0300
commit0576d04403cd02e08bc6c8d71c30f4abc186f95e (patch)
treea653205a841d1b7e2d0c9c49cbea87997a525ec1 /PySide
parent35a5bad950bfa5082268a0f52be4d6e310678f8f (diff)
Fix install command to correct module name.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide')
-rw-r--r--PySide/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt
index 3e42c3c66..8f50ed49b 100644
--- a/PySide/CMakeLists.txt
+++ b/PySide/CMakeLists.txt
@@ -33,7 +33,8 @@ macro(create_pyside_module module_name typesystem_file module_include_dir module
# install
install(FILES ${pyside_BINARY_DIR}/${module_name}${CMAKE_DEBUG_POSTFIX}.so
DESTINATION ${SITE_PACKAGE}/PySide)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide/${module_name}/pyside_${module_name}_python.h
+ string(TOLOWER ${module_name} lower_module_name)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide/${module_name}/pyside_${lower_module_name}_python.h
DESTINATION include/PySide/${module_name}/)
install(FILES ${typesystem_file}
DESTINATION share/PySide/typesystems)