From aa9561909af074160ca162ab62ca83357479bbea Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sun, 29 Jan 2017 18:16:29 +0100 Subject: [PATCH] GUI: Add install target for epee --- contrib/epee/src/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contrib/epee/src/CMakeLists.txt b/contrib/epee/src/CMakeLists.txt index 8bc51289..93c9a94f 100644 --- a/contrib/epee/src/CMakeLists.txt +++ b/contrib/epee/src/CMakeLists.txt @@ -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() \ No newline at end of file