summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-11 16:41:17 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-11 16:41:17 (GMT)
commitc0326d0d543615b5f3e0c10d382e0275a18d5b47 (patch)
treecc553d5c2f2f3ed348a2c542275ca92697371912 /Source/cmGlobalXCodeGenerator.cxx
parent3a757c253df3c230988f9c94f103ad09cc2e2d45 (diff)
downloadCMake-c0326d0d543615b5f3e0c10d382e0275a18d5b47.zip
CMake-c0326d0d543615b5f3e0c10d382e0275a18d5b47.tar.gz
CMake-c0326d0d543615b5f3e0c10d382e0275a18d5b47.tar.bz2
ENH: Simplify code by removing redundant check against BUILD_WITH_INSTALL_RPATH.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 0b5c93e..319f460 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1432,18 +1432,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
std::string install_name_dir;
if(target.GetType() == cmTarget::SHARED_LIBRARY)
{
- // Select whether to generate an install_name directory for the
- // install tree or the build tree.
- if(target.GetPropertyAsBool("BUILD_WITH_INSTALL_RPATH"))
- {
- install_name_dir =
- target.GetInstallNameDirForInstallTree(configName);
- }
- else
- {
- install_name_dir =
- target.GetInstallNameDirForBuildTree(configName);
- }
+ // Get the install_name directory for the build tree.
+ install_name_dir = target.GetInstallNameDirForBuildTree(configName);
if(install_name_dir.empty())
{