summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-10 20:17:23 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-10 20:17:23 (GMT)
commitd92d51429edf07cc07c9da44c2d43927a6110f94 (patch)
treee167ce98ae6f1bfddf13d47085c9c53a0efe1940 /Source/cmInstallTargetGenerator.cxx
parentd6a21fc25cbd35be978c7bab9ea7a349ab7b7fca (diff)
downloadCMake-d92d51429edf07cc07c9da44c2d43927a6110f94.zip
CMake-d92d51429edf07cc07c9da44c2d43927a6110f94.tar.gz
CMake-d92d51429edf07cc07c9da44c2d43927a6110f94.tar.bz2
BUG: fix for bug 6193, fix xcode depend helper
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 15aa9e6..d6a9345 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -238,18 +238,9 @@ cmInstallTargetGenerator
{
// Compute the build tree location of the framework directory
std::string from1 = fromDirConfig;
- if(config && *config)
- {
- from1 += "/";
- from1 += targetName;
- from1 += ".framework";
- }
- else
- {
- // Remove trailing slashes... so that from1 ends with ".framework":
- //
- cmSystemTools::ConvertToUnixSlashes(from1);
- }
+ // Remove trailing slashes... so that from1 ends with ".framework":
+ //
+ cmSystemTools::ConvertToUnixSlashes(from1);
files.push_back(from1);
type = cmTarget::INSTALL_DIRECTORY;