mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 06:30:20 -06:00
Merge branch 'object-library-compile-pdb' into release
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