aboutsummaryrefslogtreecommitdiffstats
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>2012-03-08 16:47:59 -0300
commitafd176ffaac193ab4b467efb4b7aa657909d92e6 (patch)
tree75cd36b1a927b58cfddfd4c6d02089bce66b3176
parent5c7d93abed7ce374c32fbf73b5fe4ee3e00b972b (diff)
Use .pyd extension for pysidetest module on Windows.
-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 0e5e9b87..7cf9e566 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