From: Daniel Danzberger Date: Mon, 2 Aug 2021 09:57:09 +0000 (+0200) Subject: libblkid-tiny: install header file to include dir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e26563f1e5a75ada494ca5cb5382a9de00e480c;p=project%2Ffstools.git libblkid-tiny: install header file to include dir Hence libblkid-tiny is a shared lib, it makes sense to install it's header to the system incldue/ dir for other applications to use it. Signed-off-by: Daniel Danzberger --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 422f27d..9a87979 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ ADD_LIBRARY(blkid-tiny SHARED libblkid-tiny/f2fs.c ) INSTALL(TARGETS blkid-tiny LIBRARY DESTINATION lib) +INSTALL(FILES libblkid-tiny/libblkid-tiny.h DESTINATION include) ADD_LIBRARY(ubi-utils STATIC libubi/libubi.c