summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-24 12:46:12 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-24 12:46:12 (GMT)
commitb2d70c1a20caf8011a1cc8b9fe5fb59a614dd959 (patch)
treeea4bfbb83021fe81c54bd857c7dc8183ea4fb1f6 /Source/cmDocumentVariables.cxx
parent059be4ba3b8af00f3615726ba8d3ff485e2fcef4 (diff)
parentde4da665d3205afa239749c41513a315c3831f51 (diff)
downloadCMake-b2d70c1a20caf8011a1cc8b9fe5fb59a614dd959.zip
CMake-b2d70c1a20caf8011a1cc8b9fe5fb59a614dd959.tar.gz
CMake-b2d70c1a20caf8011a1cc8b9fe5fb59a614dd959.tar.bz2
Merge topic 'set-sysroot'
de4da66 Use --sysroot when cross compiling.
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index ceaa302..ed51c47 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -561,6 +561,16 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
"Variables That Change Behavior");
cm->DefineProperty
+ ("CMAKE_SYSROOT", cmProperty::VARIABLE,
+ "Path to pass to the compiler in the --sysroot flag.",
+ "The CMAKE_SYSROOT content is passed to the compiler in the --sysroot "
+ "flag, if supported. The path is also stripped from the RPATH if "
+ "necessary on installation. The CMAKE_SYSROOT is also used to prefix "
+ "paths searched by the find_* commands.",
+ false,
+ "Variables That Change Behavior");
+
+ cm->DefineProperty
("CMAKE_FIND_LIBRARY_PREFIXES", cmProperty::VARIABLE,
"Prefixes to prepend when looking for libraries.",
"This specifies what prefixes to add to library names when "