diff options
| author | Koby Kahane <kobykahane@gmail.com> | 2018-10-17 21:51:09 +0300 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-10-17 11:51:09 -0700 |
| commit | 0fe909718c28d7377d07ed7130524d4a11a0c8bd (patch) | |
| tree | 310a432daad90983c9fb5e2aa8b57b8be7a488ec /ports/cryptopp/cmake.patch | |
| parent | 82eb85df4198ed1f608c5cc51cb962f7eab38dca (diff) | |
| download | vcpkg-0fe909718c28d7377d07ed7130524d4a11a0c8bd.tar.gz vcpkg-0fe909718c28d7377d07ed7130524d4a11a0c8bd.zip | |
[cryptopp] update to 7.0 (#4346)
* [cryptopp] update to 7.0
* [cryptopp] Fix Linux builds
Diffstat (limited to 'ports/cryptopp/cmake.patch')
| -rw-r--r-- | ports/cryptopp/cmake.patch | 34 |
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) |
