Sha256: 92dd6a058ecb45ce0fe294031f592383100baaeed6d84050734baf396cac4f47

Contents?: true

Size: 921 Bytes

Versions: 13

Compression:

Stored size: 921 Bytes

Contents

INCLUDE(FeatureSummary)

CHECK_STRUCT_HAS_MEMBER ("struct stat" st_mtim "sys/types.h;sys/stat.h"
	HAVE_STRUCT_STAT_ST_MTIM LANGUAGE C)
CHECK_STRUCT_HAS_MEMBER ("struct stat" st_mtimespec "sys/types.h;sys/stat.h"
	HAVE_STRUCT_STAT_ST_MTIMESPEC LANGUAGE C)
CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtime_nsec sys/stat.h
	HAVE_STRUCT_STAT_MTIME_NSEC LANGUAGE C)

IF (HAVE_STRUCT_STAT_ST_MTIM)
	CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtim.tv_nsec sys/stat.h
		HAVE_STRUCT_STAT_NSEC LANGUAGE C)
ELSEIF (HAVE_STRUCT_STAT_ST_MTIMESPEC)
	CHECK_STRUCT_HAS_MEMBER("struct stat" st_mtimespec.tv_nsec sys/stat.h
		HAVE_STRUCT_STAT_NSEC LANGUAGE C)
ELSE ()
	SET( HAVE_STRUCT_STAT_NSEC ON )
ENDIF()

IF (HAVE_STRUCT_STAT_NSEC OR WIN32)
	OPTION( USE_NSEC		"Care about sub-second file mtimes and ctimes"	ON  )
ELSE()
	SET(USE_NSEC OFF)
ENDIF()

ADD_FEATURE_INFO(nanoseconds USE_NSEC "whether to use sub-second file mtimes and ctimes")

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rugged-1.3.2.3 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.3.2.1 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.3.2 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.3.1 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.3.0 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.2.0 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.1.1 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.1.0 vendor/libgit2/cmake/FindStatNsec.cmake
rugged-1.0.1 vendor/libgit2/cmake/Modules/FindStatNsec.cmake
rugged-1.0.0 vendor/libgit2/cmake/Modules/FindStatNsec.cmake
rugged-0.99.0 vendor/libgit2/cmake/Modules/FindStatNsec.cmake
rugged-0.28.4 vendor/libgit2/cmake/Modules/FindStatNsec.cmake
rugged-0.27.10 vendor/libgit2/cmake/Modules/FindStatNsec.cmake