mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
cmInstallGenerator: Move GetDestination to subclasses that need it
The method is used only for EXPORT and TARGET install destinations. While at it, make it return a std::string by reference instead of a "const char*".
This commit is contained in:
@@ -50,9 +50,6 @@ public:
|
||||
Indent const& indent = Indent()
|
||||
);
|
||||
|
||||
const char* GetDestination() const
|
||||
{ return this->Destination.c_str(); }
|
||||
|
||||
/** Get the install destination as it should appear in the
|
||||
installation script. */
|
||||
std::string GetInstallDestination() const;
|
||||
|
||||
Reference in New Issue
Block a user