aboutsummaryrefslogtreecommitdiff
path: root/ports/cryptopp/cmake.patch
blob: 8502ff17c0183efd79573f637c2baa49d4521561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)