Commit a23fcc95 authored by Stephen Kelly's avatar Stephen Kelly

cmInstallTargetGenerator: Port to cmGeneratorTarget.

parent 4e41913f
......@@ -398,7 +398,7 @@ cmExportInstallFileGenerator
}
// Get the target to be installed.
cmTarget* target = itgen->GetTarget();
cmTarget* target = itgen->GetTarget()->Target;
// Construct the installed location of the target.
std::string dest = itgen->GetDestination(config);
......
This diff is collapsed.
......@@ -13,7 +13,9 @@
#define cmInstallTargetGenerator_h
#include "cmInstallGenerator.h"
#include "cmTarget.h"
class cmTarget;
class cmGeneratorTarget;
/** \class cmInstallTargetGenerator
* \brief Generate target installation rules.
......@@ -58,7 +60,7 @@ public:
void Compute(cmLocalGenerator* lg);
cmTarget* GetTarget() const { return this->Target; }
cmGeneratorTarget* GetTarget() const { return this->Target; }
bool IsImportLibrary() const { return this->ImportLibrary; }
......@@ -102,7 +104,7 @@ protected:
const std::string& toDestDirPath);
std::string TargetName;
cmTarget* Target;
cmGeneratorTarget* Target;
std::string FilePermissions;
NamelinkModeType NamelinkMode;
bool ImportLibrary;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment