GUI: Add install target for epee

This commit is contained in:
Jaquee 2017-01-29 18:16:29 +01:00
parent 4629ead8c5
commit aa9561909a
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39
1 changed files with 10 additions and 0 deletions

View File

@ -27,3 +27,13 @@
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
add_library(epee STATIC http_auth.cpp mlog.cpp)
# Build and install libepee if we're building for GUI
if (BUILD_GUI_DEPS)
if(IOS)
set(lib_folder lib-${ARCH})
else()
set(lib_folder lib)
endif()
install(TARGETS epee
ARCHIVE DESTINATION ${lib_folder})
endif()