diff options
author | Ismael Luceno | 2016-11-23 22:46:03 -0200 |
---|---|---|
committer | Ismael Luceno | 2016-11-23 23:42:14 -0200 |
commit | 2759d9b6c03b301d309d431ac9affce3a5c48eb2 (patch) | |
tree | 2863197bec51ebf29345d35413d782276093a6e5 /chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch | |
parent | fa760e28e18f324f6b382c231a84100a92909005 (diff) |
c-toxcore: Install nTox if built
Diffstat (limited to 'chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch')
-rw-r--r-- | chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch b/chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch new file mode 100644 index 0000000000..9bb7e1acc1 --- /dev/null +++ b/chat-libs/c-toxcore/patches/0003-Add-nTox-to-the-install-target.patch @@ -0,0 +1,24 @@ +From c6e424d812ad3ce0c402e88efcbf009eb8a29ca5 Mon Sep 17 00:00:00 2001 +From: Ismael Luceno <ismael@iodev.co.uk> +Date: Wed, 23 Nov 2016 22:20:12 -0200 +Subject: [PATCH 3/3] Add nTox to the install target + +Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> +--- + CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 74c25d7b5d96..1130be3126f5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -484,6 +484,7 @@ option(BUILD_NTOX "Build nTox client" ON) + if(NOT WIN32 AND BUILD_NTOX) + add_c_executable(nTox testing/nTox.c) + target_link_modules(nTox toxcore ${NCURSES_LIBRARIES}) ++ install(TARGETS nTox RUNTIME DESTINATION "bin") + endif() + + add_c_executable(DHT_test testing/DHT_test.c) +-- +2.10.2 |