cmake: fix installation directories and also install pkgconfig file (#224)

This commit is contained in:
Markus F.X.J. Oberhumer
2021-12-17 02:42:22 +01:00
committed by GitHub
parent 8a4cd4c903
commit 27e8a16049
2 changed files with 23 additions and 12 deletions

10
libutf8proc.pc.cmakein Normal file
View File

@@ -0,0 +1,10 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: libutf8proc
Description: UTF8 processing
Version: @PROJECT_VERSION@
Libs: -L${libdir} -lutf8proc
Cflags: -I${includedir} -DUTF8PROC_EXPORTS