cmake: fix cmake errors
This commit is contained in:
parent
b92c0502e9
commit
6b7c63a175
@ -18,6 +18,7 @@ cmake_minimum_required(VERSION 2.8)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckCSourceCompiles)
|
||||
include(CheckTypeSize)
|
||||
|
||||
project(gmio C)
|
||||
|
||||
@ -90,7 +91,7 @@ if(NOT BUILD_STRICT_C90)
|
||||
set(CMAKE_EXTRA_INCLUDE_FILES sys/stat.h)
|
||||
if(GMIO_HAVE_WIN__FSTAT64_FUNC)
|
||||
check_type_size("((struct _stat64*)0)->st_size" GMIO_SIZEOF_STRUCT_STAT_ST_SIZE)
|
||||
elsif(GMIO_HAVE_POSIX_FSTAT64_FUNC)
|
||||
elseif(GMIO_HAVE_POSIX_FSTAT64_FUNC)
|
||||
check_type_size("((struct stat64*)0)->st_size" GMIO_SIZEOF_STRUCT_STAT_ST_SIZE)
|
||||
else()
|
||||
check_type_size("((struct stat*)0)->st_size" GMIO_SIZEOF_STRUCT_STAT_ST_SIZE)
|
||||
|
Loading…
Reference in New Issue
Block a user