summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index d6dd6a6..6f96bd0 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3076,6 +3076,18 @@ void cmake::DefineProperties(cmake *cm)
"List of packages which were not found during the CMake run.",
"List of packages which were not found during the CMake run. Whether a "
"package has been found is determined using the <NAME>_FOUND variables.");
+
+
+ // ================================================================
+ // define variables as well
+ // ================================================================
+
+ cm->DefineProperty
+ ("CMAKE_COMMAND", cmProperty::VARIABLE,
+ "The full path to the cmake executable.",
+ "This is the full path to the CMake executable cmake which is "
+ "useful from custom commands that want to use the cmake -E "
+ "option for portable system commands.");
}