diff options
author | 3gg <3gg@shellblade.net> | 2024-06-15 11:42:29 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-06-15 11:42:29 -0700 |
commit | 993424547df0d253d546dbe7adee9b2448294b08 (patch) | |
tree | b56e4b7e54228d073d80bf9580846a3295295b92 /cstring/CMakeLists.txt | |
parent | f5127be2865c90b26de896c1adbc5a19ea3a0bd6 (diff) |
Add dynamically-sized strings.
Diffstat (limited to 'cstring/CMakeLists.txt')
-rw-r--r-- | cstring/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
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) | |||
2 | 2 | ||
3 | project(cstring) | 3 | project(cstring) |
4 | 4 | ||
5 | add_library(cstring INTERFACE) | 5 | add_library(cstring |
6 | src/cstring.c) | ||
6 | 7 | ||
7 | target_include_directories(cstring INTERFACE | 8 | target_include_directories(cstring PUBLIC |
8 | include) | 9 | include) |
9 | 10 | ||
10 | target_link_libraries(cstring INTERFACE | 11 | target_link_libraries(cstring PUBLIC |
11 | cassert | 12 | cassert |
12 | -lbsd) | 13 | -lbsd) |