IOS CMAKE build settings

This commit is contained in:
Jaquee 2017-04-02 12:19:25 +02:00
parent d8a88d058e
commit f5bd346573
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39
6 changed files with 42 additions and 21 deletions

View file

@ -132,8 +132,13 @@ if (BUILD_GUI_DEPS)
list(APPEND objlibs $<TARGET_OBJECTS:obj_${lib}>) # matches naming convention in src/CMakeLists.txt
endforeach()
add_library(wallet_merged STATIC ${objlibs})
if(IOS)
set(lib_folder lib-${ARCH})
else()
set(lib_folder lib)
endif()
install(TARGETS wallet_merged
ARCHIVE DESTINATION lib)
ARCHIVE DESTINATION ${lib_folder})
install(FILES ${wallet_api_headers}
DESTINATION include/wallet)