build(install): Fix pkgconfig install directory

`pkg-config` finds configs within `$prefix/lib/pkgconfig`, but not in
`$prefix/lib`.

See-Also: https://linux.die.net/man/1/pkg-config
This commit is contained in:
Henrik S. Gaßmann 2023-05-29 15:20:24 +02:00 committed by Arthur Sonzogni
parent d00d946282
commit 806bacf15a

View File

@ -58,5 +58,5 @@ install(
configure_file(ftxui.pc.in ${CMAKE_CURRENT_BINARY_DIR}/ftxui.pc @ONLY)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/ftxui.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
)