2018-10-18 02:51:09 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-05-07 04:54:57 +08:00
|
|
|
index 1683961..f63c71e 100644
|
2018-10-18 02:51:09 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-05-07 04:54:57 +08:00
|
|
|
@@ -395,6 +395,10 @@ if (MSVC)
|
|
|
|
list(APPEND CRYPTOPP_COMPILE_OPTIONS /FI winapifamily.h)
|
2018-10-18 02:51:09 +08:00
|
|
|
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)
|