From 8898bca76c01e2f7797506d6958281ab47596bed Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Thu, 17 Jan 2019 23:09:47 -0800 Subject: [PATCH] Fix windows build --- vendor/README | 1 + vendor/cryptopp/vendor_cryptopp/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/README b/vendor/README index f0b39ea7..771c571b 100644 --- a/vendor/README +++ b/vendor/README @@ -4,3 +4,4 @@ googletest: https://github.com/google/googletest/tree/4e4df226fc197c0dda6e37f5c8 spdlog: https://github.com/gabime/spdlog/tree/v0.16.3/include/spdlog cryptopp: https://github.com/weidai11/cryptopp/tree/CRYPTOPP_8_0_0 - changed: added CMakeLists.txt and cryptopp-config.cmake from https://github.com/noloader/cryptopp-cmake/tree/CRYPTOPP_8_0_0 + - changed: commented out line including winapifamily.h in CMakeLists.txt diff --git a/vendor/cryptopp/vendor_cryptopp/CMakeLists.txt b/vendor/cryptopp/vendor_cryptopp/CMakeLists.txt index e5702bfd..bc942fc6 100644 --- a/vendor/cryptopp/vendor_cryptopp/CMakeLists.txt +++ b/vendor/cryptopp/vendor_cryptopp/CMakeLists.txt @@ -447,7 +447,7 @@ if (MSVC) if (CMAKE_SYSTEM_VERSION MATCHES "10\\.0.*") list(APPEND CRYPTOPP_COMPILE_DEFINITIONS "_WIN32_WINNT=0x0A00") endif () - list(APPEND CRYPTOPP_COMPILE_OPTIONS "/FI\"winapifamily.h\"") + #list(APPEND CRYPTOPP_COMPILE_OPTIONS "/FI\"winapifamily.h\"") endif () # Enable PIC for all target machines except 32-bit i386 due to register pressures.