diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-04-21 18:22:30 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-04-21 18:23:30 (GMT) |
commit | b6a6190877ebc6098fd01fe34dcd4cca39e1f182 (patch) | |
tree | b79d652ca20e2396ae6e9a48d908e2a2f9e54466 | |
parent | 7fc013a9229087cbafeb9ff4c96d1d1acb71c5d6 (diff) | |
download | CMake-b6a6190877ebc6098fd01fe34dcd4cca39e1f182.zip CMake-b6a6190877ebc6098fd01fe34dcd4cca39e1f182.tar.gz CMake-b6a6190877ebc6098fd01fe34dcd4cca39e1f182.tar.bz2 |
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.
-rw-r--r-- | Source/cmStringCommand.cxx | 5 |
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, |