1
0
Fork 0
forked from lthn/blockchain

shortent mobile version libraries

This commit is contained in:
cryptozoidberg 2020-01-09 02:25:46 +01:00
parent ea4f75a74f
commit a8f1e99424
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -1,4 +1,7 @@
if(CMAKE_SYSTEM_NAME STREQL iOS)
{
return()
}
if(POLICY CMP0043)
cmake_policy(SET CMP0043 OLD)
endif()
@ -99,10 +102,19 @@ endif()
add_library(crypto ${CRYPTO})
add_library(wallet ${WALLET})
add_dependencies(wallet version ${PCH_LIB_NAME})
ENABLE_SHARED_PCH(WALLET)
add_library(currency_core ${CURRENCY_CORE})
add_dependencies(currency_core version rpc ${PCH_LIB_NAME})
ENABLE_SHARED_PCH(CURRENCY_CORE)
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
message("Generating for iOS: finished")
return()
endif()
add_library(rpc ${RPC})
add_dependencies(rpc version ${PCH_LIB_NAME})
ENABLE_SHARED_PCH(RPC)
@ -111,9 +123,6 @@ add_library(stratum ${STRATUM})
add_dependencies(stratum version ${PCH_LIB_NAME})
ENABLE_SHARED_PCH(STRATUM)
add_library(wallet ${WALLET})
add_dependencies(wallet version ${PCH_LIB_NAME})
ENABLE_SHARED_PCH(WALLET)
target_link_libraries(currency_core lmdb mdbx)