|
|
@@ -256,6 +256,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
|
|
|
this->SetPropertyDefault("WIN32_EXECUTABLE", nullptr);
|
|
|
this->SetPropertyDefault("MACOSX_BUNDLE", nullptr);
|
|
|
this->SetPropertyDefault("MACOSX_RPATH", nullptr);
|
|
|
+ this->SetPropertyDefault("NO_SYSTEM_FROM_IMPORTED", nullptr);
|
|
|
this->SetPropertyDefault("BUILD_WITH_INSTALL_NAME_DIR", nullptr);
|
|
|
this->SetPropertyDefault("C_CLANG_TIDY", nullptr);
|
|
|
this->SetPropertyDefault("C_COMPILER_LAUNCHER", nullptr);
|
|
|
@@ -282,10 +283,6 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
|
|
|
this->SetPropertyDefault("LINK_SEARCH_END_STATIC", nullptr);
|
|
|
}
|
|
|
|
|
|
- if (this->GetType() != cmStateEnums::UTILITY) {
|
|
|
- this->SetPropertyDefault("NO_SYSTEM_FROM_IMPORTED", nullptr);
|
|
|
- }
|
|
|
-
|
|
|
// Collect the set of configuration types.
|
|
|
std::vector<std::string> configNames;
|
|
|
mf->GetConfigurations(configNames);
|