aboutsummaryrefslogtreecommitdiff
path: root/ports/cryptopp/cmake.patch
diff options
context:
space:
mode:
authorBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
committerBob Kast <bob.kast@emc.com>2018-10-23 09:06:58 -0400
commit230d795ae3c3f2e45821b887c6065a81a8c04326 (patch)
tree7b014a1547ff1cc9ef80add56eb03b17774a1ff6 /ports/cryptopp/cmake.patch
parent3d1fbeb7de48a3d7a782be7b8722efb5015c7010 (diff)
parent9b21ff9612916e24f89c6839599d3d50446597d8 (diff)
downloadvcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.tar.gz
vcpkg-230d795ae3c3f2e45821b887c6065a81a8c04326.zip
Merge branch 'master' of https://github.com/EMCECS/vcpkg
# Conflicts: # ports/ecsutil/CONTROL # ports/ecsutil/portfile.cmake
Diffstat (limited to 'ports/cryptopp/cmake.patch')
-rw-r--r--ports/cryptopp/cmake.patch34
1 files changed, 19 insertions, 15 deletions
diff --git a/ports/cryptopp/cmake.patch b/ports/cryptopp/cmake.patch
index fbe725eb9..699ebd564 100644
--- a/ports/cryptopp/cmake.patch
+++ b/ports/cryptopp/cmake.patch
@@ -1,15 +1,19 @@
-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)
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8cf9fa2..86a756b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -336,9 +336,13 @@ 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 "/FIwinapifamily.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)