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 ArthurSonzogni
parent 513ec6c5e1
commit 438a7dc842
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C

View File

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