summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-07 13:33:11 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-07 15:08:38 (GMT)
commit6696855f72adebbb40d475c39dace1e9f855ca2a (patch)
tree582b2c76fc4ad59f49f8ac76551c0f1594330ab3 /Source/cmake.h
parent6b815e58baa037335fb0008f6d0345fa29931e08 (diff)
downloadCMake-6696855f72adebbb40d475c39dace1e9f855ca2a.zip
CMake-6696855f72adebbb40d475c39dace1e9f855ca2a.tar.gz
CMake-6696855f72adebbb40d475c39dace1e9f855ca2a.tar.bz2
cmake: Simplify implementation of -E capabilities
The `cmake -E capabilities` command-line tool is implemented only in a full-featured (non-bootstrap) CMake, and server mode is now always available in this case.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 4de9d28..fa4409a 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -136,9 +136,9 @@ public:
#if defined(CMAKE_BUILD_WITH_CMAKE)
Json::Value ReportVersionJson() const;
- Json::Value ReportCapabilitiesJson(bool haveServerMode) const;
+ Json::Value ReportCapabilitiesJson() const;
#endif
- std::string ReportCapabilities(bool haveServerMode) const;
+ std::string ReportCapabilities() const;
//@{
/**