aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2025-07-12 16:01:06 -0400
committerEugene Triguba <eugenetriguba@gmail.com>2025-07-12 16:01:06 -0400
commitabf6adeba064b8343d8e95c9bffe87550ba1aa76 (patch)
tree818c34d785465f176b6e04ae74be4d5d91eff568 /CMakeLists.txt
parentRelease v0.1.2 (diff)
downloadcli-abf6adeba064b8343d8e95c9bffe87550ba1aa76.zip
Remove need for strlcat and remove extra `memset`s
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 35aba96..6bec2cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,14 +17,6 @@ set(SRC_FILES
src/main.c
)
-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()
-
include_directories(src)
add_executable(justify ${SRC_FILES})