libblkid-tiny: install header file to include dir
authorDaniel Danzberger <daniel@dd-wrt.com>
Mon, 2 Aug 2021 09:57:09 +0000 (11:57 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 3 Aug 2021 20:38:39 +0000 (21:38 +0100)
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 <daniel@dd-wrt.com>
CMakeLists.txt

index 422f27d3b3f5375ad866573733bffcf756037353..9a87979c13813d251b8713e475b07e1cc1b968a6 100644 (file)
@@ -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