build: correctly install the pkg-config file
This commit is contained in:
parent
8e346d7717
commit
7dcba62047
@ -716,5 +716,13 @@ endif ()
|
||||
|
||||
|
||||
###############################################################################
|
||||
configure_file(libcruft.pc.in libcruft.pc)
|
||||
configure_file(libcruft.pc.in libcruft.pc @ONLY)
|
||||
install (
|
||||
FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/libcruft.pc"
|
||||
DESTINATION
|
||||
"${CMAKE_INSTALL_PREFIX}/share/pkgconfig"
|
||||
)
|
||||
|
||||
|
||||
configure_file(Doxyfile.in Doxyfile)
|
||||
|
@ -1,7 +1,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||
libdir=@CMAKE_INSTALL_PREFIX@/lib
|
||||
includedir=@CMAKE_INSTALL_PREFIX@/include
|
||||
|
||||
Name: libcruft
|
||||
Description: A simple utility library in C++
|
||||
|
Loading…
Reference in New Issue
Block a user