mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'object-library-compile-pdb'
feff52d4 Fix COMPILE_PDB_NAME when used on an OBJECT library
This commit is contained in:
@@ -1147,7 +1147,7 @@ std::string cmGeneratorTarget::GetCompilePDBPath(
|
||||
{
|
||||
std::string dir = this->GetCompilePDBDirectory(config);
|
||||
std::string name = this->GetCompilePDBName(config);
|
||||
if (dir.empty() && !name.empty()) {
|
||||
if (dir.empty() && !name.empty() && this->HaveWellDefinedOutputFiles()) {
|
||||
dir = this->GetPDBDirectory(config);
|
||||
}
|
||||
if (!dir.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user