feat(3p/nix): install pkgconfig files for libexpr, libmain and libstore
Also fixes the pkgconfig files to use the corresponding CMake variables. Change-Id: I8095b8aff39ad91e592f3edc95555c9f1f1f153d Reviewed-on: https://cl.tvl.fyi/c/depot/+/545 Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
parent
739a45f9e4
commit
8b83e0f31b
7 changed files with 22 additions and 12 deletions
3
third_party/nix/src/libexpr/CMakeLists.txt
vendored
3
third_party/nix/src/libexpr/CMakeLists.txt
vendored
|
|
@ -76,5 +76,8 @@ target_link_libraries(nixexpr
|
|||
gccpp
|
||||
)
|
||||
|
||||
configure_file("nix-expr.pc.in" "${PROJECT_BINARY_DIR}/nix-expr.pc" @ONLY)
|
||||
INSTALL(FILES "${PROJECT_BINARY_DIR}/nix-expr.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}")
|
||||
|
||||
INSTALL(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/nix/libexpr)
|
||||
INSTALL(TARGETS nixexpr DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue