mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Ninja Multi-Config: Fix bug in CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
Fixes: #20775
This commit is contained in:
@@ -2529,7 +2529,8 @@ void cmGeneratorTarget::ComputeModuleDefinitionInfo(
|
||||
info.DefFileGenerated = false;
|
||||
#endif
|
||||
if (info.DefFileGenerated) {
|
||||
info.DefFile = this->ObjectDirectory /* has slash */ + "exports.def";
|
||||
info.DefFile =
|
||||
this->GetObjectDirectory(config) /* has slash */ + "exports.def";
|
||||
} else if (!info.Sources.empty()) {
|
||||
info.DefFile = info.Sources.front()->GetFullPath();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user