Fix windows build
This commit is contained in:
parent
d0efbaaa72
commit
8898bca76c
1
vendor/README
vendored
1
vendor/README
vendored
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user