Sha256: 060dab43690b7696cfe4d01aa80e6ecf3e835f370a9e412bc08ebea96ad241c2

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 Bytes

Contents

INCLUDE(EnableWarnings)

IF (APPLE)
	# We cannot simply CHECK_FUNCTION_EXISTS on macOS because
	# MACOSX_DEPLOYMENT_TARGET may be set to a version in the past
	# that doesn't have futimens.  Instead we need to enable warnings
	# as errors, then check for the symbol existing in `sys/stat.h`,
	# then reset warnings as errors.
	ENABLE_WARNINGS(error)
	CHECK_SYMBOL_EXISTS(futimens sys/stat.h HAVE_FUTIMENS)
	DISABLE_WARNINGS(error)
ELSE ()
	CHECK_FUNCTION_EXISTS(futimens HAVE_FUTIMENS)
ENDIF ()

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rugged-1.3.2.3 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.3.2.1 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.3.2 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.3.1 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.3.0 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.2.0 vendor/libgit2/cmake/Findfutimens.cmake