summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-05-29 19:28:43 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-05-29 19:28:43 (GMT)
commit6fc4bfa11cf2c1de1c6c44704cd7c160f4363ea8 (patch)
tree31462539384a7d93652e7adb071b25f3111bcbc8 /Source
parent1e4aaa31dd619dd2685f51489e66f6d9d8a8fe9c (diff)
downloadCMake-6fc4bfa11cf2c1de1c6c44704cd7c160f4363ea8.zip
CMake-6fc4bfa11cf2c1de1c6c44704cd7c160f4363ea8.tar.gz
CMake-6fc4bfa11cf2c1de1c6c44704cd7c160f4363ea8.tar.bz2
Ninja Multi-Config: Fix bug in CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS
Fixes: #20775
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 5828651..b4b0c45 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -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();
}