mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			601 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			601 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
# - Try to find utf8proc
 | 
						|
# Once done this will define
 | 
						|
#  UTF8PROC_FOUND - System has utf8proc
 | 
						|
#  UTF8PROC_INCLUDE_DIRS - The utf8proc include directories
 | 
						|
#  UTF8PROC_LIBRARIES - The libraries needed to use utf8proc
 | 
						|
 | 
						|
include(LibFindMacros)
 | 
						|
 | 
						|
set(UTF8PROC_NAMES utf8proc)
 | 
						|
if(MSVC)
 | 
						|
  # "utf8proc_static" is used for MSVC (when built statically from third-party).
 | 
						|
  # https://github.com/JuliaStrings/utf8proc/commit/0975bf9b6.
 | 
						|
  list(APPEND UTF8PROC_NAMES utf8proc_static)
 | 
						|
endif()
 | 
						|
libfind_pkg_detect(UTF8PROC utf8proc FIND_PATH utf8proc.h FIND_LIBRARY ${UTF8PROC_NAMES})
 | 
						|
libfind_process(UTF8PROC REQUIRED)
 |