mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
contrib: fix cryptopp Android patch on macOS
Change-Id: I68fe358486ca4e023057bf625f7de63c887a4bb6
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt.patched
|
||||
@@ -39,12 +39,7 @@ set(CRYPTOPP_DATA_DIR "" CACHE PATH "Crypto++ test data directory")
|
||||
# Always 1 ahead in Master. Also see http://groups.google.com/forum/#!topic/cryptopp-users/SFhqLDTQPG4
|
||||
--- a/CMakeLists.txt 2016-09-21 02:41:26.000000000 -0400
|
||||
+++ b/CMakeLists.txt 2017-07-23 09:54:00.000000000 -0400
|
||||
@@ -40,11 +40,7 @@
|
||||
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))
|
||||
- set(CRYPTOPP_CROSS_COMPILE 1)
|
||||
-else()
|
||||
|
Reference in New Issue
Block a user