forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user