diff options
author | Christian Tismer <tismer@stackless.com> | 2015-11-12 07:20:57 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2015-11-12 07:20:57 +0100 |
commit | 450b88983f616b1e41bf0a53d38046b0041ec41f (patch) | |
tree | 3ca21f69a20f3896488651cb4442d48d4b0f69aa | |
parent | de857a35363bc865d86e78b59b258780c3e9be93 (diff) |
fixing debug builds on windows.
How on earth did people debug without debug builds?
This must have been wrong before the move to Qt5.
-rw-r--r-- | shibokenmodule/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shibokenmodule/CMakeLists.txt b/shibokenmodule/CMakeLists.txt index b18a3ac78..c4d2a161c 100644 --- a/shibokenmodule/CMakeLists.txt +++ b/shibokenmodule/CMakeLists.txt @@ -23,6 +23,9 @@ add_library(shibokenmodule MODULE ${sample_SRC}) set_property(TARGET shibokenmodule PROPERTY PREFIX "") set_property(TARGET shibokenmodule PROPERTY OUTPUT_NAME "shiboken2") if(WIN32) + if(CMAKE_BUILD_TYPE STREQUAL "Debug") + set_property(TARGET shibokenmodule PROPERTY OUTPUT_NAME "shiboken2_d") + endif() set_property(TARGET shibokenmodule PROPERTY SUFFIX ".pyd") endif() target_link_libraries(shibokenmodule |