diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2025-07-12 16:01:06 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2025-07-12 16:01:06 -0400 |
| commit | abf6adeba064b8343d8e95c9bffe87550ba1aa76 (patch) | |
| tree | 818c34d785465f176b6e04ae74be4d5d91eff568 /CMakeLists.txt | |
| parent | Release v0.1.2 (diff) | |
| download | cli-abf6adeba064b8343d8e95c9bffe87550ba1aa76.zip | |
Remove need for strlcat and remove extra `memset`s
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
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}) |