diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-08-10 12:37:30 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-08-10 12:23:16 +0000 |
commit | 0b7cd967a2a5ee1298a4f60d73ee7e93b0ce202b (patch) | |
tree | 15fecb21b803cd3cf10f320d08a98a4570d165c4 /cmake | |
parent | f1093ad70da4b86b08e330d446d5f3b727041786 (diff) |
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>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCreatorAPI.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index fafa5180e74..ac97e74fc4c 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -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) |