summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-01 11:36:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-01 11:36:50 (GMT)
commit8cf2e1de225946201ad6d052ca004b8105d17aba (patch)
tree5a83539d3eb50d874e614eb07ca9dd2a8f82df1e /Source
parent14e25d991b2e44bf64306fa149a4ac915c4d71be (diff)
parent6fc4bfa11cf2c1de1c6c44704cd7c160f4363ea8 (diff)
downloadCMake-8cf2e1de225946201ad6d052ca004b8105d17aba.zip
CMake-8cf2e1de225946201ad6d052ca004b8105d17aba.tar.gz
CMake-8cf2e1de225946201ad6d052ca004b8105d17aba.tar.bz2
Merge topic 'ninja-multi-export-all-symbols'
6fc4bfa11c Ninja Multi-Config: Fix bug in CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Reinking <alex_reinking@berkeley.edu> Merge-request: !4825
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 f2a51ab..802b613 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -2651,7 +2651,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();
}