summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-03 06:49:55 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2015-09-03 06:49:55 -0400
commit18252b58879697a19fd1c1cf8d06b94b987e4849 (patch)
treeb6838c7569e8d494b6bda2acbbfa9040bb1ee15e /Source/cmSystemTools.cxx
parentd1dc344cf1f38a4a5a2f32775e89a247d067cf0d (diff)
parent7c33b0f9a6d648659a66d71263e7b0b631bce01a (diff)
downloadcmake-18252b58879697a19fd1c1cf8d06b94b987e4849.tar.gz
Merge topic 'vs-store-phone-cert-thumbs'
7c33b0f9 cmSystemTools: Skip ComputeCertificateThumbprint during bootstrap
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 cac6a12d05..64eeed650f 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1018,7 +1018,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;