diff options
author | Eike Ziller <eike.ziller@qt.io> | 2020-12-14 14:19:15 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2020-12-14 14:19:15 +0100 |
commit | 4bc2b4741dd577925e6e052f0263357a033dee69 (patch) | |
tree | c2e3f772c4f308fd9569ae8841c17f080c1f43b4 /src/libs/qtcreatorcdbext | |
parent | cf010911f7681b23aff6a150c50252374447addd (diff) | |
parent | 30397fd2d416227331d3ca83b522c4c6ff8e6d16 (diff) |
Merge remote-tracking branch 'origin/4.14'
Change-Id: I842a7c7358fd0ff6d85c151806e440043914e09a
Diffstat (limited to 'src/libs/qtcreatorcdbext')
-rw-r--r-- | src/libs/qtcreatorcdbext/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libs/qtcreatorcdbext/CMakeLists.txt b/src/libs/qtcreatorcdbext/CMakeLists.txt index 45d55474aa..41769a2984 100644 --- a/src/libs/qtcreatorcdbext/CMakeLists.txt +++ b/src/libs/qtcreatorcdbext/CMakeLists.txt @@ -58,7 +58,11 @@ if (_library_enabled) foreach(lib IN LISTS PYTHON_LIBRARIES) if (lib MATCHES ${PythonRegex}) - set(PythonZipFileName "python${CMAKE_MATCH_4}.zip") + if (CMAKE_BUILD_TYPE STREQUAL "Debug") + set(PythonZipFileName "python${CMAKE_MATCH_4}_d.zip") + else() + set(PythonZipFileName "python${CMAKE_MATCH_4}.zip") + endif() set(PythonDll "${CMAKE_MATCH_1}/${CMAKE_MATCH_3}${CMAKE_SHARED_LIBRARY_SUFFIX}") set(PythonExe "${CMAKE_MATCH_1}/python${CMAKE_EXECUTABLE_SUFFIX}") |