summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorBruno Manganelli <bruno.manga95@gmail.com>2018-11-22 21:05:05 (GMT)
committerBruno Manganelli <bruno.manga95@gmail.com>2019-01-21 15:34:16 (GMT)
commit3e867ed4003e33ace2de6027f9bedb9aa7718b0c (patch)
tree9fe1b65a8b7e96c9a964761089dd1d48d5385937 /Source/cmInstallTargetGenerator.cxx
parentc144db1b8ca1ea2e3dad397123f110956a439030 (diff)
downloadCMake-3e867ed4003e33ace2de6027f9bedb9aa7718b0c.zip
CMake-3e867ed4003e33ace2de6027f9bedb9aa7718b0c.tar.gz
CMake-3e867ed4003e33ace2de6027f9bedb9aa7718b0c.tar.bz2
cmake: inlined files dir constant and removed it from cmake.h
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 86c6a58..89b3e73 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -19,7 +19,6 @@
#include "cmStateTypes.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
-#include "cmake.h"
cmInstallTargetGenerator::cmInstallTargetGenerator(
const std::string& targetName, const char* dest, bool implib,
@@ -102,7 +101,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(
if (this->Target->NeedRelinkBeforeInstall(config)) {
fromDirConfig =
this->Target->GetLocalGenerator()->GetCurrentBinaryDirectory();
- fromDirConfig += cmake::GetCMakeFilesDirectory();
+ fromDirConfig += "/CMakeFiles";
fromDirConfig += "/CMakeRelink.dir/";
} else {
cmStateEnums::ArtifactType artifact = this->ImportLibrary