summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-06-15 14:12:19 (GMT)
committerBrad King <brad.king@kitware.com>2006-06-15 14:12:19 (GMT)
commitb4542762a77c7fa7848a3ac8e85cf42c05bc73a9 (patch)
treed92cb8d28cedac5ad5a355b01fe2551badf965ef /Source/cmTarget.cxx
parent60487a227e76100ea812c0788f8499861d51ba70 (diff)
downloadCMake-b4542762a77c7fa7848a3ac8e85cf42c05bc73a9.zip
CMake-b4542762a77c7fa7848a3ac8e85cf42c05bc73a9.tar.gz
CMake-b4542762a77c7fa7848a3ac8e85cf42c05bc73a9.tar.bz2
ENH: Added target property INSTALL_RPATH_USE_LINK_PATH to append the linker search path directories not inside the project to the INSTALL_RPATH automatically. The property is initialized by the variable CMAKE_INSTALL_RPATH_USE_LINK_PATH when the target is created.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 5f0998a..26bc47d 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -63,6 +63,7 @@ void cmTarget::SetMakefile(cmMakefile* mf)
// Setup default property values.
this->SetPropertyDefault("INSTALL_NAME_DIR", "");
this->SetPropertyDefault("INSTALL_RPATH", "");
+ this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
this->SetPropertyDefault("BUILD_WITH_INSTALL_RPATH", "OFF");