diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-19 12:02:50 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-19 16:19:20 -0300 |
commit | 7701c41779a72d9a6dd8359da33345f4acc93856 (patch) | |
tree | e3eee7875470578190526760a9c1b571b90c062c /tests/samplebinding/CMakeLists.txt | |
parent | d0c503628bdc5183f7f4792e10a4e105ff795d81 (diff) |
Use .pyd to python modules on windows.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding/CMakeLists.txt')
-rw-r--r-- | tests/samplebinding/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt index 0dbf1170e..a240749a4 100644 --- a/tests/samplebinding/CMakeLists.txt +++ b/tests/samplebinding/CMakeLists.txt @@ -94,6 +94,9 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${libshiboken_SOURCE_DIR}) add_library(sample MODULE ${sample_SRC}) set_property(TARGET sample PROPERTY PREFIX "") +if(WIN32) + set_property(TARGET sample PROPERTY SUFFIX ".pyd") +endif() target_link_libraries(sample libsample ${SBK_PYTHON_LIBRARIES} |