Sha256: 5f71227384a4914df198dc7766b6b8474942730a16c22de0c987c9548808f1c6

Contents?: true

Size: 721 Bytes

Versions: 12

Compression:

Stored size: 721 Bytes

Contents

# Find CoreFoundation.framework
# This will define :
#
# COREFOUNDATION_FOUND
# COREFOUNDATION_LIBRARIES
# COREFOUNDATION_LDFLAGS
#

find_path(COREFOUNDATION_INCLUDE_DIR NAMES CoreFoundation.h)
find_library(COREFOUNDATION_LIBRARIES NAMES CoreFoundation)
if(COREFOUNDATION_INCLUDE_DIR AND COREFOUNDATION_LIBRARIES)
	if(NOT CoreFoundation_FIND_QUIETLY)
		message(STATUS "Found CoreFoundation ${COREFOUNDATION_LIBRARIES}")
	endif()
	set(COREFOUNDATION_FOUND TRUE)
	set(COREFOUNDATION_LDFLAGS "-framework CoreFoundation")
endif()

if(CoreFoundation_FIND_REQUIRED AND NOT COREFOUNDATION_FOUND)
	message(FATAL_ERROR "CoreFoundation not found")
endif()

mark_as_advanced(
	COREFOUNDATION_INCLUDE_DIR
	COREFOUNDATION_LIBRARIES
)

Version data entries

12 entries across 12 versions & 1 rubygems

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