diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-04-14 14:43:30 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-06-04 12:52:02 (GMT) |
commit | ed3633d88cc5faa6fd7eb68fdd774d6d1f9cfdc9 (patch) | |
tree | b99345e45c9645c178601669ecd5d13c18b8ab1e /Source/cmRuntimeDependencyArchive.cxx | |
parent | f2617cf8e6aca6ec0f8c7df6999c1f713c6d7474 (diff) | |
download | CMake-ed3633d88cc5faa6fd7eb68fdd774d6d1f9cfdc9.zip CMake-ed3633d88cc5faa6fd7eb68fdd774d6d1f9cfdc9.tar.gz CMake-ed3633d88cc5faa6fd7eb68fdd774d6d1f9cfdc9.tar.bz2 |
install(TARGETS): Add RUNTIME_DEPENDENCIES option
Diffstat (limited to 'Source/cmRuntimeDependencyArchive.cxx')
-rw-r--r-- | Source/cmRuntimeDependencyArchive.cxx | 8 |
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); +} |