aboutsummaryrefslogtreecommitdiff
path: root/ports/cryptopp/cmake.patch
blob: fbe725eb9e253c80efec09c2071958a324a36329 (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 5b6e1e6..a0adcf6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -329,6 +329,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
 	SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /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)