CMakeLists.txt
changeset 11280 3a62ecf87af9
parent 11265 9152aa462a82
child 11296 44853f387017
     1.1 --- a/CMakeLists.txt	Sun Aug 13 21:55:42 2017 -0700
     1.2 +++ b/CMakeLists.txt	Sun Aug 13 22:26:44 2017 -0700
     1.3 @@ -615,7 +615,7 @@
     1.4  if(LIBC)
     1.5    if(WINDOWS AND NOT MINGW)
     1.6      set(HAVE_LIBC TRUE)
     1.7 -    foreach(_HEADER stdio.h string.h ctype.h math.h)
     1.8 +    foreach(_HEADER stdio.h string.h wchar.h ctype.h math.h)
     1.9        string(TOUPPER "HAVE_${_HEADER}" _UPPER)
    1.10        string(REPLACE "." "_" _HAVE_H ${_UPPER})
    1.11        set(${_HAVE_H} 1)
    1.12 @@ -642,7 +642,7 @@
    1.13      check_include_file(sys/types.h HAVE_SYS_TYPES_H)
    1.14      foreach(_HEADER
    1.15              stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h
    1.16 -            strings.h inttypes.h stdint.h ctype.h math.h iconv.h signal.h)
    1.17 +            strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h signal.h)
    1.18        string(TOUPPER "HAVE_${_HEADER}" _UPPER)
    1.19        string(REPLACE "." "_" _HAVE_H ${_UPPER})
    1.20        check_include_file("${_HEADER}" ${_HAVE_H})