install(TARGETS): Add RUNTIME_DEPENDENCIES option

This commit is contained in:
Kyle Edwards
2021-04-14 10:43:30 -04:00
parent f2617cf8e6
commit ed3633d88c
29 changed files with 928 additions and 25 deletions
+8
View File
@@ -397,3 +397,11 @@ cmRuntimeDependencyArchive::GetRPaths() const
{
return this->RPaths;
}
bool cmRuntimeDependencyArchive::PlatformSupportsRuntimeDependencies(
const std::string& platform)
{
static const std::set<std::string> supportedPlatforms = { "Windows", "Linux",
"Darwin" };
return supportedPlatforms.count(platform);
}