Add pkg-config file. (#642)

This file describes the include and lib location and makes
it possible to use the library in build systems other than
CMake, e.g. in basic Makefiles.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
This commit is contained in:
Henner Zeller
2023-05-17 01:50:47 -07:00
committed by GitHub
parent 9bfa241627
commit 6e059dadd5
3 changed files with 20 additions and 0 deletions

9
ftxui.pc.in Normal file
View File

@@ -0,0 +1,9 @@
prefix="@CMAKE_INSTALL_PREFIX@"
libdir="@CMAKE_INSTALL_FULL_LIBDIR@"
includedir="@CMAKE_INSTALL_FULL_INCLUDEDIR@"
Name: @PROJECT_NAME@
Description: @CMAKE_PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -lftxui-component -lftxui-dom -lftxui-screen