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)
|
configure_file(Doxyfile.in Doxyfile)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
prefix=@prefix@
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
libdir=@libdir@
|
libdir=@CMAKE_INSTALL_PREFIX@/lib
|
||||||
includedir=@includedir@
|
includedir=@CMAKE_INSTALL_PREFIX@/include
|
||||||
|
|
||||||
Name: libcruft
|
Name: libcruft
|
||||||
Description: A simple utility library in C++
|
Description: A simple utility library in C++
|
||||||
|
Loading…
Reference in New Issue
Block a user