From 47d4f7109f78716e0cb1b52c45c7c71a8c81162b Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 31 Jul 2016 17:10:39 -0500 Subject: properly enable strnlen checks for MSVC --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c38017..f0e074a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,7 +144,7 @@ if(HAVE_STRNDUP) endif() if(MSVC) - set(HAVE_STRNLEN) + set(HAVE_STRNLEN true) add_definitions(-DHAVE_STRNLEN) else() check_function_exists(strnlen HAVE_STRNLEN) -- cgit v1.2.3-55-g6feb