summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2015-08-07 19:11:57 (GMT)
committerBrad King <brad.king@kitware.com>2015-08-13 14:34:44 (GMT)
commit675ef165f213a6db1f9d0dfbebf6a0afc5469494 (patch)
tree79fa37f2fd5a783478610ea72f8b524883c4d4fd /Source/cmTarget.cxx
parent7a7922e0201fee6a6f45c702f96ca57a295c68fe (diff)
downloadCMake-675ef165f213a6db1f9d0dfbebf6a0afc5469494.zip
CMake-675ef165f213a6db1f9d0dfbebf6a0afc5469494.tar.gz
CMake-675ef165f213a6db1f9d0dfbebf6a0afc5469494.tar.bz2
Allow LINK_SEARCH_{START,END}_STATIC props to have default values.
Use the CMAKE_LINK_SEARCH_START_STATIC and CMAKE_LINK_SEARCH_END_STATIC variables to initialize the LINK_SEARCH_START_STATIC and LINK_SEARCH_END_STATIC target properties respectively.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 316d85c..59d4da0 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -306,6 +306,8 @@ void cmTarget::SetMakefile(cmMakefile* mf)
this->SetPropertyDefault("CXX_STANDARD", 0);
this->SetPropertyDefault("CXX_STANDARD_REQUIRED", 0);
this->SetPropertyDefault("CXX_EXTENSIONS", 0);
+ this->SetPropertyDefault("LINK_SEARCH_START_STATIC", 0);
+ this->SetPropertyDefault("LINK_SEARCH_END_STATIC", 0);
}
// Collect the set of configuration types.