Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bill Hoffman
CMake
Commits
f1c5b50c
Commit
f1c5b50c
authored
Jan 24, 2008
by
Brad King
💬
Browse files
COMP: Cannot do MD5 from KWSys during CMake bootstrap.
parent
1dec5448
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmSystemTools.cxx
View file @
f1c5b50c
...
...
@@ -1131,6 +1131,7 @@ bool cmSystemTools::ComputeFileMD5(const char* source, char* md5out)
std
::
string
cmSystemTools
::
ComputeStringMD5
(
const
char
*
input
)
{
#if defined(CMAKE_BUILD_WITH_CMAKE)
char
md5out
[
32
];
cmsysMD5
*
md5
=
cmsysMD5_New
();
cmsysMD5_Initialize
(
md5
);
...
...
@@ -1138,6 +1139,10 @@ std::string cmSystemTools::ComputeStringMD5(const char* input)
cmsysMD5_FinalizeHex
(
md5
,
md5out
);
cmsysMD5_Delete
(
md5
);
return
std
::
string
(
md5out
,
32
);
#else
(
void
)
input
;
cmSystemTools
::
Message
(
"md5sum not supported in bootstrapping mode"
,
"Error"
);
#endif
}
void
cmSystemTools
::
Glob
(
const
char
*
directory
,
const
char
*
regexp
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment