aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2025-06-29 21:18:41 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2025-06-29 21:18:41 -0400
commite89f64ad3d9f0bdba290b4e60a3ad02bfd584c97 (patch)
tree661d31e2506a369c44d88b85d4dba12865438742
parentAdd homebrew bump workflow (diff)
downloadcli-e89f64ad3d9f0bdba290b4e60a3ad02bfd584c97.zip
Add strlcat to append list
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04194ea..5526f95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,8 @@ include(CheckFunctionExists)
check_function_exists(strlcat HAVE_STRLCAT)
if(HAVE_STRLCAT)
add_definitions(-DHAVE_STRLCAT=1)
+else()
+ list(APPEND SRC_FILES src/strlcat.c)
endif()
set(SRC_FILES