summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-10-27 15:01:19 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2011-10-27 15:01:19 -0200
commitf3672a77822fc68a2093985be5ff2f597a30bdb7 (patch)
tree3148831dc30f0c0703375b56668389a3d9214f4a /cmake
parent1c135f7a59dbcdc798b8200904804bfcf6a050c0 (diff)
downloadpyside-f3672a77822fc68a2093985be5ff2f597a30bdb7.tar.gz
pyside-f3672a77822fc68a2093985be5ff2f597a30bdb7.tar.xz
pyside-f3672a77822fc68a2093985be5ff2f597a30bdb7.zip
Fix bug 1011 - "PySide cygwin patch"
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
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 29bea6a..7e57dc9 100644
--- a/cmake/Macros/PySideModules.cmake
+++ b/cmake/Macros/PySideModules.cmake
@@ -39,7 +39,7 @@ macro(create_pyside_module module_name module_include_dir module_libraries modul
set_target_properties(${module_name} PROPERTIES SUFFIX ".pyd")
set(${module_name}_suffix ".pyd")
else()
- set(${module_name}_suffix ".so")
+ set(${module_name}_suffix ${CMAKE_SHARED_MODULE_SUFFIX})
endif()
target_link_libraries(${module_name} ${${module_libraries}})
if(${module_deps})