aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()