From 71cfc32723601f00970eb733a604dcd09ca050cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Isager=20Dalsgar=C3=B0?= Date: Fri, 16 Feb 2024 12:49:59 +0100 Subject: [PATCH] Link objects only (#191) --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c71f1c3..346c0cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ add_custom_command( VERBATIM ) -add_library(sodium STATIC) +add_library(sodium OBJECT) target_sources( sodium @@ -386,6 +386,8 @@ add_bare_module(sodium_native) target_sources( ${sodium_native} + PUBLIC + $ PRIVATE binding.c macros.h