summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-02 09:23:32 -0400
committerBrad King <brad.king@kitware.com>2015-09-02 09:23:45 -0400
commit7c33b0f9a6d648659a66d71263e7b0b631bce01a (patch)
tree88e01b7ce8dd65befe921fee38284ff1b483e780 /Source/cmSystemTools.cxx
parente0cf77b3109e74cbc4c050e9907dacc9f0f40f70 (diff)
downloadcmake-7c33b0f9a6d648659a66d71263e7b0b631bce01a.tar.gz
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.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 0cbe15c33d..545e552634 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;