summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-22 13:38:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-22 13:38:43 (GMT)
commitbcd98b5f9846d7b9d2a6518501eb7ac56139665e (patch)
tree8104a1c66150559d58939ff6a1cfef729d406391 /Source
parent4f15a57060c34900aaef5feb88edd2270fcd52e9 (diff)
parent313ea361b0435b18e89fb652bf59a8aef25a066b (diff)
downloadCMake-bcd98b5f9846d7b9d2a6518501eb7ac56139665e.zip
CMake-bcd98b5f9846d7b9d2a6518501eb7ac56139665e.tar.gz
CMake-bcd98b5f9846d7b9d2a6518501eb7ac56139665e.tar.bz2
Merge topic 'cmake-use-findpython'
313ea361b0 CMake: Use FindPython instead of FindPythonInterp to build CMake itself b6a6190877 string(): Support hash functions in bootstrap Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7197
Diffstat (limited to 'Source')
-rw-r--r--Source/cmStringCommand.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index 900854e..c3ee695 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -55,7 +55,6 @@ bool joinImpl(std::vector<std::string> const& args, std::string const& glue,
bool HandleHashCommand(std::vector<std::string> const& args,
cmExecutionStatus& status)
{
-#if !defined(CMAKE_BOOTSTRAP)
if (args.size() != 3) {
status.SetError(
cmStrCat(args[0], " requires an output variable and an input string"));
@@ -69,10 +68,6 @@ bool HandleHashCommand(std::vector<std::string> const& args,
return true;
}
return false;
-#else
- status.SetError(cmStrCat(args[0], " not available during bootstrap"));
- return false;
-#endif
}
bool HandleToUpperLowerCommand(std::vector<std::string> const& args,