summaryrefslogtreecommitdiffstats
path: root/Source/cmRuntimeDependencyArchive.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRuntimeDependencyArchive.cxx')
-rw-r--r--Source/cmRuntimeDependencyArchive.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmRuntimeDependencyArchive.cxx b/Source/cmRuntimeDependencyArchive.cxx
index 06246d1..26f255d 100644
--- a/Source/cmRuntimeDependencyArchive.cxx
+++ b/Source/cmRuntimeDependencyArchive.cxx
@@ -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);
+}