From 950dcb2d07ac7bcc0964d3e8dff2cbb9441ba60e 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 710d8a9..657ae03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,7 +107,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