summaryrefslogtreecommitdiff
path: root/cmake/ModulePackage.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/ModulePackage.cmake')
-rw-r--r--cmake/ModulePackage.cmake4
1 files changed, 2 insertions, 2 deletions
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()