summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-20 14:22:34 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-20 19:05:53 +0000
commitd7583a719a73cf5ec75da7839b2fd2c11d676c45 (patch)
treec7dd6f9ba3e2e937dca98d4c9eb7ae30a0c68eb4 /cmake
parentc5976e37eaadf663dc3d0c18376ea023355048f3 (diff)
Remove nTox from the repo.
It's a maintenance burden nobody uses. Let's make toxic the official console client, instead.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Dependencies.cmake1
-rw-r--r--cmake/ModulePackage.cmake4
2 files changed, 2 insertions, 3 deletions
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index 99d3b98a..d2a52ae7 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -8,7 +8,6 @@ include(ModulePackage)
8 8
9find_package(Threads REQUIRED) 9find_package(Threads REQUIRED)
10 10
11find_library(NCURSES_LIBRARIES ncurses )
12find_library(UTIL_LIBRARIES util ) 11find_library(UTIL_LIBRARIES util )
13find_library(RT_LIBRARIES rt ) 12find_library(RT_LIBRARIES rt )
14 13
diff --git a/cmake/ModulePackage.cmake b/cmake/ModulePackage.cmake
index 7a96abcf..35f6f2a7 100644
--- a/cmake/ModulePackage.cmake
+++ b/cmake/ModulePackage.cmake
@@ -150,8 +150,8 @@ function(target_link_modules target)
150 set(_targets ${_targets} ${target}) 150 set(_targets ${_targets} ${target})
151 # Executables preferably link against static libraries, so they are 151 # Executables preferably link against static libraries, so they are
152 # standalone and can be shipped without any external dependencies. As a 152 # standalone and can be shipped without any external dependencies. As a
153 # frame of reference: nTox becomes an 1.3M binary instead of 139K on x86_64 153 # frame of reference: tests become roughly 1-1.5M binaries instead of
154 # Linux. 154 # 100-200K on x86_64 Linux.
155 set(${target}_primary static) 155 set(${target}_primary static)
156 set(${target}_secondary shared) 156 set(${target}_secondary shared)
157 endif() 157 endif()