mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-26 10:48:38 -06:00
Merge topic 'osx-archs-apple-only' into release-3.18
70ce1ad64a PCH: Avoid Apple-specific architecture flags on other platforms
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5118
This commit is contained in:
@@ -3032,6 +3032,9 @@ std::string cmGeneratorTarget::GetCompilePDBDirectory(
|
||||
void cmGeneratorTarget::GetAppleArchs(const std::string& config,
|
||||
std::vector<std::string>& archVec) const
|
||||
{
|
||||
if (!this->Makefile->IsOn("APPLE")) {
|
||||
return;
|
||||
}
|
||||
cmProp archs = nullptr;
|
||||
if (!config.empty()) {
|
||||
std::string defVarName =
|
||||
|
||||
Reference in New Issue
Block a user