diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-05-29 19:28:43 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-05-29 19:28:43 (GMT) |
commit | 6fc4bfa11cf2c1de1c6c44704cd7c160f4363ea8 (patch) | |
tree | 31462539384a7d93652e7adb071b25f3111bcbc8 /Source | |
parent | 1e4aaa31dd619dd2685f51489e66f6d9d8a8fe9c (diff) | |
download | CMake-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.cxx | 3 |
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(); } |