mirror of
				https://github.com/taglib/taglib.git
				synced 2025-11-03 16:26:18 -05:00 
			
		
		
		
	Also build/install taglib.pc when targetting windows
.pc file is notably used when cross-compiling windows software
This commit is contained in:
		@ -61,7 +61,7 @@ install(TARGETS tag_c
 | 
			
		||||
	PUBLIC_HEADER DESTINATION ${INCLUDE_INSTALL_DIR}/taglib
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
if(NOT WIN32 AND NOT BUILD_FRAMEWORK)
 | 
			
		||||
if(NOT BUILD_FRAMEWORK)
 | 
			
		||||
	configure_file(${CMAKE_CURRENT_SOURCE_DIR}/taglib_c.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/taglib_c.pc)
 | 
			
		||||
	install(FILES ${CMAKE_CURRENT_BINARY_DIR}/taglib_c.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user