Skip to content

Commit

Permalink
cmake: pkgconfig file: install the file
Browse files Browse the repository at this point in the history
Make it so that pkgconfig file is actually installed to INSTALL_LIBDIR.

Signed-off-by: Eero Aaltonen <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
Acked-by: Etienne Carriere <[email protected]>
  • Loading branch information
eaaltonen authored and jforissier committed Oct 13, 2023
1 parent 46831ac commit 6178477
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libteec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ install(TARGETS teec LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
install(DIRECTORY include
DESTINATION ${CMAKE_INSTALL_PREFIX}
)

install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libteec.pc"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
)

0 comments on commit 6178477

Please sign in to comment.