mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:25:04 +00:00
Fix installation of libgit2.pc file
configure_file outputs by default to binary dir, and install(files) search from source dir.
This commit is contained in:
parent
f6867e639a
commit
71e08b330c
@ -111,7 +111,7 @@ INSTALL(TARGETS git2
|
|||||||
LIBRARY DESTINATION ${INSTALL_LIB}
|
LIBRARY DESTINATION ${INSTALL_LIB}
|
||||||
ARCHIVE DESTINATION ${INSTALL_LIB}
|
ARCHIVE DESTINATION ${INSTALL_LIB}
|
||||||
)
|
)
|
||||||
INSTALL(FILES libgit2.pc DESTINATION ${INSTALL_LIB}/pkgconfig )
|
INSTALL(FILES ${CMAKE_BINARY_DIR}/libgit2.pc DESTINATION ${INSTALL_LIB}/pkgconfig )
|
||||||
INSTALL(DIRECTORY include/git2 DESTINATION ${INSTALL_INC} )
|
INSTALL(DIRECTORY include/git2 DESTINATION ${INSTALL_INC} )
|
||||||
INSTALL(FILES include/git2.h DESTINATION ${INSTALL_INC} )
|
INSTALL(FILES include/git2.h DESTINATION ${INSTALL_INC} )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user