aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-29 18:16:29 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-30 23:29:05 +0100
commitaa9561909af074160ca162ab62ca83357479bbea (patch)
tree35fdf2cea1588d8fa82a0ec2c353c56661887d96 /contrib/epee
parentMerge pull request #1618 (diff)
downloadmonero-aa9561909af074160ca162ab62ca83357479bbea.tar.xz
GUI: Add install target for epee
Diffstat (limited to 'contrib/epee')
-rw-r--r--contrib/epee/src/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/epee/src/CMakeLists.txt b/contrib/epee/src/CMakeLists.txt
index 8bc512893..93c9a94f7 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