 9b0b46985c
			
		
	
	9b0b46985c
	
	
	
		
			
			Add libxml2 which can be used to build gettext instead of the old built-in substitute for it. Signed-off-by: Michael Pratt <mcpratt@pm.me>
		
			
				
	
	
		
			13 lines
		
	
	
		
			472 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			472 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/CMakeLists.txt
 | |
| +++ b/CMakeLists.txt
 | |
| @@ -496,6 +496,9 @@ if(LIBXML2_WITH_PROGRAMS)
 | |
|  		add_executable(LibXml2::${PROGRAM} ALIAS ${PROGRAM})
 | |
|  		target_compile_definitions(${PROGRAM} PRIVATE SYSCONFDIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}")
 | |
|  		target_link_libraries(${PROGRAM} LibXml2)
 | |
| +		if(LIBXML2_WITH_ICONV AND NOT Iconv_IS_BUILT_IN)
 | |
| +			target_link_libraries(${PROGRAM} iconv)
 | |
| +		endif()
 | |
|  		if(HAVE_LIBHISTORY)
 | |
|  			target_link_libraries(${PROGRAM} history)
 | |
|  		endif()
 |