cmake: use proper pkg-config install path variable

This commit is contained in:
DeadSix27 2019-11-12 14:43:56 +01:00 committed by Erik de Castro Lopo
parent e0f7e0ece5
commit ed1b67b9a8
2 changed files with 2 additions and 2 deletions

View File

@ -50,4 +50,4 @@ install(TARGETS FLAC++ EXPORT targets
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/flac++.pc"
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig")
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")

View File

@ -125,4 +125,4 @@ install(TARGETS FLAC EXPORT targets
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/"
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/flac.pc"
DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig")
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")