1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 19:08:07 +08:00

cmSystemTools: Skip ComputeCertificateThumbprint during bootstrap

The implementation of this method requires linking to some extra system
libraries.  Simply leave it out of the bootstrap-built CMake.
This commit is contained in:
Brad King
2015-09-02 09:23:32 -04:00
parent e0cf77b310
commit 7c33b0f9a6

View File

@@ -1019,7 +1019,7 @@ std::string cmSystemTools::ComputeCertificateThumbprint(
{
std::string thumbprint;
#ifdef _WIN32
#if defined(CMAKE_BUILD_WITH_CMAKE) && defined(_WIN32)
BYTE* certData = NULL;
CRYPT_INTEGER_BLOB cryptBlob;
HCERTSTORE certStore = NULL;