From b6a6190877ebc6098fd01fe34dcd4cca39e1f182 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 21 Apr 2022 14:22:30 -0400 Subject: string(): Support hash functions in bootstrap cmCryptoHash has been included in the bootstrap script since 596439b. Add hash support to string() in bootstrap to allow FindPython to work. --- Source/cmStringCommand.cxx | 5 ----- 1 file changed, 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 const& args, std::string const& glue, bool HandleHashCommand(std::vector 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 const& args, return true; } return false; -#else - status.SetError(cmStrCat(args[0], " not available during bootstrap")); - return false; -#endif } bool HandleToUpperLowerCommand(std::vector const& args, -- cgit v0.12