| 4122 | #endif |
| 4123 | } |
| 4124 | bool cmSystemTools::RemoveRPath(std::string const& file, std::string* emsg, |
| 4125 | bool* removed) |
| 4126 | { |
| 4127 | if (cm::optional<bool> result = RemoveRPathELF(file, emsg, removed)) { |
| 4128 | return result.value(); |
| 4129 | } |
| 4130 | if (cm::optional<bool> result = RemoveRPathXCOFF(file, emsg, removed)) { |
| 4131 | return result.value(); |
| 4132 | } |
| 4133 | // The file format is not recognized. Assume it has no RPATH. |
| 4134 | return true; |
| 4135 | } |
| 4136 | |
| 4137 | bool cmSystemTools::CheckRPath(std::string const& file, |
| 4138 | std::string const& newRPath) |
nothing calls this directly
no test coverage detected