mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:28:59 +08:00
2a4749e8ad
* [cryptopp] Update to 8.5.0 * [cryptopp] Update versions * Update versions/c-/cryptopp.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
16 lines
446 B
Diff
16 lines
446 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 1683961..f63c71e 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -395,6 +395,10 @@ if (MSVC)
|
|
list(APPEND CRYPTOPP_COMPILE_OPTIONS /FI winapifamily.h)
|
|
endif ()
|
|
|
|
+if(WINDOWS_STORE)
|
|
+ add_definitions(-DCRYPTOPP_DISABLE_NACL=1)
|
|
+endif()
|
|
+
|
|
# Enable PIC for all target machines except 32-bit i386 due to register pressures.
|
|
if (NOT CRYPTOPP_I386)
|
|
SET(CMAKE_POSITION_INDEPENDENT_CODE 1)
|