mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			586 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			586 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
# -----------------------------------------------------------------------------
 | 
						|
# Find IOKit framework (Mac OS X).
 | 
						|
#
 | 
						|
# Define:
 | 
						|
# CoreFoundation_FOUND
 | 
						|
# CoreFoundation_INCLUDE_DIR
 | 
						|
# CoreFoundation_LIBRARY
 | 
						|
 | 
						|
set(CoreFoundation_FOUND false)
 | 
						|
set(CoreFoundation_INCLUDE_DIR)
 | 
						|
set(CoreFoundation_LIBRARY)
 | 
						|
 | 
						|
if(APPLE)
 | 
						|
# The only platform it makes sense to check for CoreFoundation
 | 
						|
	find_library(CoreFoundation CoreFoundation)
 | 
						|
	if(CoreFoundation)
 | 
						|
		set(CoreFoundation_FOUND true)
 | 
						|
		set(CoreFoundation_INCLUDE_DIR ${CoreFoundation})
 | 
						|
		set(CoreFoundation_LIBRARY ${CoreFoundation})
 | 
						|
	endif()
 | 
						|
endif()
 |