Sha256: 1c16ac77018f28efac83cd848c130d5127c22999dc48efe44bc8ee9b501deb29

Contents?: true

Size: 759 Bytes

Versions: 13

Compression:

Stored size: 759 Bytes

Contents

# Find Security.framework
# This will define :
#
# SECURITY_FOUND
# SECURITY_LIBRARIES
# SECURITY_LDFLAGS
# SECURITY_HAS_SSLCREATECONTEXT
#

find_path(SECURITY_INCLUDE_DIR NAMES Security/Security.h)
find_library(SECURITY_LIBRARIES NAMES Security)
if(SECURITY_INCLUDE_DIR AND SECURITY_LIBRARIES)
	if(NOT Security_FIND_QUIETLY)
		message(STATUS "Found Security ${SECURITY_LIBRARIES}")
	endif()
	set(SECURITY_FOUND TRUE)
	set(SECURITY_LDFLAGS "-framework Security")
	check_library_exists("${SECURITY_LIBRARIES}" SSLCreateContext "Security/SecureTransport.h" SECURITY_HAS_SSLCREATECONTEXT)
endif()

if(Security_FIND_REQUIRED AND NOT SECURITY_FOUND)
	message(FATAL_ERROR "Security not found")
endif()

mark_as_advanced(
	SECURITY_INCLUDE_DIR
	SECURITY_LIBRARIES
)

Version data entries

13 entries across 13 versions & 1 rubygems

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