From 7c33b0f9a6d648659a66d71263e7b0b631bce01a Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 2 Sep 2015 09:23:32 -0400 Subject: [PATCH] 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. --- Source/cmSystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 0cbe15c33..545e55263 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -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;