From ae76ca481b4000bdd474597665a2af1ecf3ec6d7 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Thu, 4 Jul 2024 15:06:59 -0400 Subject: tweak strlcat --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index aa4eb23..67ab38d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ endif() include(CheckFunctionExists) check_function_exists(strlcat HAVE_STRLCAT) -if(NOT HAVE_STRLCAT) +if(HAVE_STRLCAT) add_definitions(-DHAVE_STRLCAT=1) endif() -- cgit v1.2.3