Fix strcasecmp detection
Our detection must include strings.h.
This commit is contained in:
parent
9d815c5d43
commit
360da28234
1 changed files with 3 additions and 3 deletions
|
|
@ -46,9 +46,9 @@ endif()
|
|||
|
||||
find_package(m)
|
||||
|
||||
include(CheckFunctionExists)
|
||||
check_function_exists(strcasecmp HAVE_DECL_STRCASECMP)
|
||||
check_function_exists(strncasecmp HAVE_DECL_STRNCASECMP)
|
||||
include(CheckSymbolExists)
|
||||
check_symbol_exists(strcasecmp "strings.h" HAVE_DECL_STRCASECMP)
|
||||
check_symbol_exists(strncasecmp "strings.h" HAVE_DECL_STRNCASECMP)
|
||||
|
||||
set(WINDOWS_RC_VERSION "${PROJECT_VERSION_MAJOR}, ${PROJECT_VERSION_MINOR}, ${PROJECT_VERSION_PATCH}, 0")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue