summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2015-04-29 06:45:38 -0400
committerAllen Winter <allen.winter@kdab.com>2015-04-29 06:45:38 -0400
commit3f6eff68086b6870c95e800be1037eaca9f45872 (patch)
treecd8985621a131a1969a70516f6dbcc978570ac7d /ConfigureChecks.cmake
parent8279e7263b64b009f02e8c557bfcf2c0a80fee73 (diff)
downloadlibical-git-3f6eff68086b6870c95e800be1037eaca9f45872.tar.gz
WIP: fix build on Windows with MSVC2012 now
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 048aa099..72923c50 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -33,7 +33,9 @@ check_function_exists(_snprintf HAVE__SNPRINTF) #Windows <stdio.h>
check_function_exists(stat HAVE_STAT)
check_function_exists(_stat HAVE__STAT)
check_function_exists(strcasecmp HAVE_STRCASECMP)
+check_function_exists(strncasecmp HAVE_STRNCASECMP)
check_function_exists(stricmp HAVE_STRICMP)
+check_function_exists(strnicmp HAVE_STRNICMP)
check_function_exists(strdup HAVE_STRDUP) #Unix <string.h>
check_function_exists(_strdup HAVE__STRDUP) #Windows <string.h>
check_function_exists(unsetenv HAVE_UNSETENV)