Sha256: 281fa0a75648482e3b13841d92db2c5332147fa8c7f96afe7ee11eae77a6bfd3

Contents?: true

Size: 492 Bytes

Versions: 13

Compression:

Stored size: 492 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

13 entries across 13 versions & 1 rubygems

Version Path
rugged-1.9.0 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.7.2 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.6.5 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.7.1 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.6.3 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.6.2 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.5.1 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.4.5 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.5.0.1 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.5.0 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.4.4 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.4.3 vendor/libgit2/cmake/Findfutimens.cmake
rugged-1.4.2 vendor/libgit2/cmake/Findfutimens.cmake