mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Also build/install taglib.pc when targetting windows
.pc file is notably used when cross-compiling windows software
This commit is contained in:
parent
10b804e0ae
commit
c45a0694f9
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user