Skip to content
Snippets Groups Projects
Commit cff60b59 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

contrib: fix cryptopp Android patch on macOS

Change-Id: I68fe358486ca4e023057bf625f7de63c887a4bb6
parent 94022741
Branches
No related tags found
No related merge requests found
--- a/CMakeLists.txt --- a/CMakeLists.txt 2016-09-21 02:41:26.000000000 -0400
+++ b/CMakeLists.txt.patched +++ b/CMakeLists.txt 2017-07-23 09:54:00.000000000 -0400
@@ -39,12 +39,7 @@ set(CRYPTOPP_DATA_DIR "" CACHE PATH "Crypto++ test data directory") @@ -40,11 +40,7 @@
# Always 1 ahead in Master. Also see http://groups.google.com/forum/#!topic/cryptopp-users/SFhqLDTQPG4
set(LIB_VER ${cryptopp_VERSION_MAJOR}${cryptopp_VERSION_MINOR}${cryptopp_VERSION_PATCH}) set(LIB_VER ${cryptopp_VERSION_MAJOR}${cryptopp_VERSION_MINOR}${cryptopp_VERSION_PATCH})
-# Only set when cross-compiling, http://www.vtk.org/Wiki/CMake_Cross_Compiling # Only set when cross-compiling, http://www.vtk.org/Wiki/CMake_Cross_Compiling
-if (NOT (CMAKE_SYSTEM_VERSION AND CMAKE_SYSTEM_PROCESSOR)) -if (NOT (CMAKE_SYSTEM_VERSION AND CMAKE_SYSTEM_PROCESSOR))
- set(CRYPTOPP_CROSS_COMPILE 1) - set(CRYPTOPP_CROSS_COMPILE 1)
-else() -else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment