diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-02-17 15:25:29 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-02-28 13:24:03 (GMT) |
commit | fcbd723a5085c11c57ec966f8aea605a55d0bdd5 (patch) | |
tree | c3063c72d82eaf6044342ac1ad8bdd7bcd1e4758 /Source/cmCommonTargetGenerator.cxx | |
parent | 22a491c3ea790532511e8de09692ccd002447c9d (diff) | |
download | CMake-fcbd723a5085c11c57ec966f8aea605a55d0bdd5.zip CMake-fcbd723a5085c11c57ec966f8aea605a55d0bdd5.tar.gz CMake-fcbd723a5085c11c57ec966f8aea605a55d0bdd5.tar.bz2 |
Enhance support functions
* Avoid duplicate definiitions for IsExecutableWithExports, etc...
* Add helper IsApple()
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r-- | Source/cmCommonTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx index 1705763..59448a4 100644 --- a/Source/cmCommonTargetGenerator.cxx +++ b/Source/cmCommonTargetGenerator.cxx @@ -248,7 +248,7 @@ std::string cmCommonTargetGenerator::GetManifests(const std::string& config) std::string cmCommonTargetGenerator::GetAIXExports(std::string const&) { std::string aixExports; - if (this->GeneratorTarget->Target->IsAIX()) { + if (this->GeneratorTarget->IsAIX()) { if (cmValue exportAll = this->GeneratorTarget->GetProperty("AIX_EXPORT_ALL_SYMBOLS")) { if (cmIsOff(*exportAll)) { |