Merge pull request #99 from eberge/dev

Install the lz4frame.h header in the cmake build
This commit is contained in:
Yann Collet 2015-05-03 01:43:38 +02:00
commit b495c916e5

View File

@ -25,7 +25,7 @@ endif()
set(LZ4_DIR ../lib/) set(LZ4_DIR ../lib/)
set(PRG_DIR ../programs/) set(PRG_DIR ../programs/)
set(LZ4_SRCS_LIB ${LZ4_DIR}lz4.c ${LZ4_DIR}lz4hc.c ${LZ4_DIR}lz4.h ${LZ4_DIR}lz4hc.h ${LZ4_DIR}lz4frame.c ${LZ4_DIR}xxhash.c) set(LZ4_SRCS_LIB ${LZ4_DIR}lz4.c ${LZ4_DIR}lz4hc.c ${LZ4_DIR}lz4.h ${LZ4_DIR}lz4hc.h ${LZ4_DIR}lz4frame.c ${LZ4_DIR}lz4frame.h ${LZ4_DIR}xxhash.c)
set(LZ4_SRCS ${LZ4_DIR}lz4frame.c ${LZ4_DIR}xxhash.c ${PRG_DIR}bench.c ${PRG_DIR}lz4cli.c ${PRG_DIR}lz4io.c) set(LZ4_SRCS ${LZ4_DIR}lz4frame.c ${LZ4_DIR}xxhash.c ${PRG_DIR}bench.c ${PRG_DIR}lz4cli.c ${PRG_DIR}lz4io.c)
if(BUILD_TOOLS AND NOT BUILD_LIBS) if(BUILD_TOOLS AND NOT BUILD_LIBS)
@ -53,6 +53,7 @@ if(BUILD_LIBS)
install(FILES install(FILES
${LZ4_DIR}/lz4.h ${LZ4_DIR}/lz4.h
${LZ4_DIR}/lz4hc.h ${LZ4_DIR}/lz4hc.h
${LZ4_DIR}/lz4frame.h
DESTINATION include DESTINATION include
) )