]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix cmake
authorYann Collet <cyan@fb.com>
Wed, 12 Oct 2016 17:23:53 +0000 (10:23 -0700)
committerYann Collet <cyan@fb.com>
Wed, 12 Oct 2016 17:23:53 +0000 (10:23 -0700)
build/cmake/lib/CMakeLists.txt
lib/Makefile

index c984145ba745db06a8034cb3ca645fc138e905b3..f970fe7e902d8310c483f376d17c7ece1de34e6c 100644 (file)
@@ -59,6 +59,7 @@ MESSAGE("ZSTD VERSION ${LIBVER_MAJOR}.${LIBVER_MINOR}.${LIBVER_RELEASE}")
 SET(Sources
         ${LIBRARY_DIR}/common/entropy_common.c
         ${LIBRARY_DIR}/common/zstd_common.c
+        ${LIBRARY_DIR}/common/error_private.c
         ${LIBRARY_DIR}/common/xxhash.c
         ${LIBRARY_DIR}/common/fse_decompress.c
         ${LIBRARY_DIR}/compress/fse_compress.c
@@ -74,7 +75,7 @@ SET(Sources
 SET(Headers
         ${LIBRARY_DIR}/common/bitstream.h
         ${LIBRARY_DIR}/common/error_private.h
-        ${LIBRARY_DIR}/common/error_public.h
+        ${LIBRARY_DIR}/common/zstd_errors.h
         ${LIBRARY_DIR}/common/fse.h
         ${LIBRARY_DIR}/common/huf.h
         ${LIBRARY_DIR}/common/mem.h
index c3c993e3cb9b504c0dde543c868175cea58d3caa..5df8c3cb49c6d04faa8b03cb61b753c6d558f03e 100644 (file)
@@ -97,7 +97,7 @@ install: libzstd libzstd.pc
        @cp -a libzstd.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
        @install -m 644 libzstd.a $(DESTDIR)$(LIBDIR)/libzstd.a
        @install -m 644 zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h
-       @install -m 644 zstd_errors.h $(DESTDIR)$(INCLUDEDIR)/zstd_errors.h
+       @install -m 644 common/zstd_errors.h $(DESTDIR)$(INCLUDEDIR)/zstd_errors.h
        @install -m 644 common/zbuff.h $(DESTDIR)$(INCLUDEDIR)/zbuff.h   # Deprecated streaming functions
        @install -m 644 dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)/zdict.h
        @echo zstd static and shared library installed