CMake build: Fix pdb file names (Windows)

They should have the same base name as the DLL/.lib, but were missing
the version number.

Fixes: QTCREATORBUG-25968
Change-Id: I30e39a62b94264bd5a4852f0b1100044fa47d811
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2021-08-10 12:37:30 +02:00
parent f1093ad70d
commit 0b7cd967a2

View File

@@ -269,6 +269,7 @@ function(add_qtc_library name)
PREFIX ""
IMPORT_SUFFIX "${IDE_VERSION_MAJOR}${CMAKE_IMPORT_LIBRARY_SUFFIX}"
IMPORT_PREFIX ""
PDB_NAME "${name}${IDE_VERSION_MAJOR}${.pdb}"
)
endif()
@@ -525,6 +526,7 @@ function(add_qtc_plugin target_name)
PREFIX ""
IMPORT_SUFFIX "${IDE_VERSION_MAJOR}${CMAKE_IMPORT_LIBRARY_SUFFIX}"
IMPORT_PREFIX ""
PDB_NAME "${name}${IDE_VERSION_MAJOR}${.pdb}"
)
endif()
if (NOT _arg_SKIP_PCH)