mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #1950
f5bd3465
IOS CMAKE build settings (Jaquee)d8a88d05
add IOS CMAKE toolchain (Jaquee)
This commit is contained in:
commit
e9ca165b1a
7 changed files with 206 additions and 21 deletions
7
external/CMakeLists.txt
vendored
7
external/CMakeLists.txt
vendored
|
@ -34,11 +34,12 @@
|
|||
# We always compile if we are building statically to reduce static dependency issues...
|
||||
# ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with
|
||||
# others.
|
||||
|
||||
find_package(Miniupnpc QUIET)
|
||||
if(NOT IOS)
|
||||
find_package(Miniupnpc QUIET)
|
||||
endif()
|
||||
|
||||
# If we have the correct shared version and we're not building static, use it
|
||||
if(STATIC)
|
||||
if(STATIC OR IOS)
|
||||
set(USE_SHARED_MINIUPNPC false)
|
||||
elseif(MINIUPNP_FOUND AND MINIUPNPC_VERSION_1_7_OR_HIGHER)
|
||||
set(USE_SHARED_MINIUPNPC true)
|
||||
|
|
7
external/unbound/CMakeLists.txt
vendored
7
external/unbound/CMakeLists.txt
vendored
|
@ -215,6 +215,11 @@ endif ()
|
|||
|
||||
|
||||
if (INSTALL_VENDORED_LIBUNBOUND)
|
||||
if(IOS)
|
||||
set(lib_folder lib-${ARCH})
|
||||
else()
|
||||
set(lib_folder lib)
|
||||
endif()
|
||||
install(TARGETS unbound
|
||||
ARCHIVE DESTINATION lib)
|
||||
ARCHIVE DESTINATION ${lib_folder})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue