diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
107 | endif() | 107 | endif() |
108 | 108 | ||
109 | if(MSVC) | 109 | if(MSVC) |
110 | set(HAVE_STRNLEN) | 110 | set(HAVE_STRNLEN true) |
111 | add_definitions(-DHAVE_STRNLEN) | 111 | add_definitions(-DHAVE_STRNLEN) |
112 | else() | 112 | else() |
113 | check_function_exists(strnlen HAVE_STRNLEN) | 113 | check_function_exists(strnlen HAVE_STRNLEN) |