diff options
author | Brad King <brad.king@kitware.com> | 2015-09-02 13:23:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-02 13:23:45 (GMT) |
commit | 7c33b0f9a6d648659a66d71263e7b0b631bce01a (patch) | |
tree | 88e01b7ce8dd65befe921fee38284ff1b483e780 /Source/cmSystemTools.cxx | |
parent | e0cf77b3109e74cbc4c050e9907dacc9f0f40f70 (diff) | |
download | CMake-7c33b0f9a6d648659a66d71263e7b0b631bce01a.zip CMake-7c33b0f9a6d648659a66d71263e7b0b631bce01a.tar.gz CMake-7c33b0f9a6d648659a66d71263e7b0b631bce01a.tar.bz2 |
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.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 0cbe15c..545e552 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; |