diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Dependencies.cmake | 1 | ||||
-rw-r--r-- | cmake/ModulePackage.cmake | 4 |
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 | ||
9 | find_package(Threads REQUIRED) | 9 | find_package(Threads REQUIRED) |
10 | 10 | ||
11 | find_library(NCURSES_LIBRARIES ncurses ) | ||
12 | find_library(UTIL_LIBRARIES util ) | 11 | find_library(UTIL_LIBRARIES util ) |
13 | find_library(RT_LIBRARIES rt ) | 12 | find_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() |