mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 12:12:46 +00:00 
			
		
		
		
	As an alternative to OpenSSL when we're on OS X. This one can actually take advantage of stacking the streams.
		
			
				
	
	
		
			10 lines
		
	
	
		
			279 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			279 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
IF (SECURITY_INCLUDE_DIR AND SECURITY_DIRS)
 | 
						|
  SET(SECURITY_FOUND TRUE)
 | 
						|
ELSE ()
 | 
						|
  FIND_PATH(SECURITY_INCLUDE_DIR NAMES Security/Security.h)
 | 
						|
  FIND_LIBRARY(SECURITY_DIRS NAMES Security)
 | 
						|
  IF (SECURITY_INCLUDE_DIR AND SECURITY_DIRS)
 | 
						|
    SET(SECURITY_FOUND TRUE)
 | 
						|
  ENDIF ()
 | 
						|
ENDIF ()
 |