summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-17 18:45:25 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-12-17 19:16:56 -0200
commitdd1184ac4d231144933f891d46453af52af6b632 (patch)
treee670d17949387656b4e358277ef63c7a865a536e /tests
parent3b61f88a1fe16d1abdbc9f35ccb14ad5544b4c5e (diff)
downloadpyside-dd1184ac4d231144933f891d46453af52af6b632.tar.gz
pyside-dd1184ac4d231144933f891d46453af52af6b632.tar.xz
pyside-dd1184ac4d231144933f891d46453af52af6b632.zip
Use .pyd extension for pysidetest module on Windows.
Diffstat (limited to 'tests')
-rw-r--r--tests/pysidetest/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pysidetest/CMakeLists.txt b/tests/pysidetest/CMakeLists.txt
index 0e5e9b8..7cf9e56 100644
--- a/tests/pysidetest/CMakeLists.txt
+++ b/tests/pysidetest/CMakeLists.txt
@@ -54,6 +54,9 @@ target_link_libraries(pysidetest ${QT_QTCORE_LIBRARY})
add_library(testbinding MODULE ${testbinding_SRC})
set_property(TARGET testbinding PROPERTY PREFIX "")
+if(WIN32)
+ set_target_properties(testbinding PROPERTIES SUFFIX ".pyd")
+endif()
target_link_libraries(testbinding
pysidetest
pyside