From 993424547df0d253d546dbe7adee9b2448294b08 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 15 Jun 2024 11:42:29 -0700 Subject: Add dynamically-sized strings. --- cstring/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cstring/CMakeLists.txt') diff --git a/cstring/CMakeLists.txt b/cstring/CMakeLists.txt index df2fa45..bc385c3 100644 --- a/cstring/CMakeLists.txt +++ b/cstring/CMakeLists.txt @@ -2,11 +2,12 @@ cmake_minimum_required(VERSION 3.0) project(cstring) -add_library(cstring INTERFACE) +add_library(cstring + src/cstring.c) -target_include_directories(cstring INTERFACE +target_include_directories(cstring PUBLIC include) -target_link_libraries(cstring INTERFACE +target_link_libraries(cstring PUBLIC cassert -lbsd) -- cgit v1.2.3