cmake HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC examples

chdb-io/chdb contrib/libarchive-cmake/CMakeLists.txt :170

target_compile_definitions(
        _libarchive PUBLIC
            MAJOR_IN_SYSMACROS=1
            HAVE_LINUX_FS_H=1
            HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1
            HAVE_LINUX_TYPES_H=1
            HAVE_SYS_STATFS_H=1
            HAVE_FUTIMESAT=1
            HAVE_ICONV=1
    )

libarchive/libarchive CMakeLists.txt :1669

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
    "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

Lewuathe/mlir-hello thirdparty/llvm-project/llvm/cmake/config-ix.cmake :372

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
      "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

polarphp/polarphp cmake/modules/DetectHostEnvironment.cmake :273

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
    "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

apache/trafficserver CMakeLists.txt :557

check_struct_has_member("struct stat" st_mtim "sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

ClickHouse/ClickHouse contrib/libarchive-cmake/CMakeLists.txt :173

target_compile_definitions(
        _libarchive PUBLIC
            MAJOR_IN_SYSMACROS=1
            HAVE_LINUX_FS_H=1
            HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1
            HAVE_LINUX_TYPES_H=1
            HAVE_SYS_STATFS_H=1
            HAVE_FUTIMESAT=1
            HAVE_ICONV=1
    )

sahlberg/libnfs cmake/ConfigureChecks.cmake :43

check_struct_has_member("struct stat" st_mtim.tv_nsec sys/stat.h HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

root-project/root interpreter/llvm-project/llvm/cmake/config-ix.cmake :337

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
      "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

o2e/OLLVM-9.0.1 cmake/config-ix.cmake :265

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
    "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

NVIDIA/MDL-SDK src/mdl/jit/llvm/dist/cmake/config-ix.cmake :282

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
    "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)

GANGE666/xVMP src/cmake/config-ix.cmake :254

CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec
    "sys/types.h;sys/stat.h" HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC)