-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zstd should not install internal headers - some of them try include o…
…thers that aren't installed. We don't use them. Avoid the situation Signed-off-by: Emerson Knapp <[email protected]>
- Loading branch information
Emerson Knapp
committed
Feb 3, 2021
1 parent
e835d2e
commit 7b52eda
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From f1153100884e580dce331e8dd56b260ffb2f04d5 Mon Sep 17 00:00:00 2001 | ||
From: Emerson Knapp <[email protected]> | ||
Date: Tue, 2 Feb 2021 17:47:46 -0800 | ||
Subject: [PATCH] Don't install internal headers | ||
|
||
Signed-off-by: Emerson Knapp <[email protected]> | ||
--- | ||
build/cmake/lib/CMakeLists.txt | 4 ---- | ||
1 file changed, 4 deletions(-) | ||
|
||
diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt | ||
index 7adca875..0c2d777e 100644 | ||
--- a/build/cmake/lib/CMakeLists.txt | ||
+++ b/build/cmake/lib/CMakeLists.txt | ||
@@ -147,10 +147,6 @@ endif () | ||
# install target | ||
install(FILES | ||
${LIBRARY_DIR}/zstd.h | ||
- ${LIBRARY_DIR}/deprecated/zbuff.h | ||
- ${LIBRARY_DIR}/dictBuilder/zdict.h | ||
- ${LIBRARY_DIR}/dictBuilder/cover.h | ||
- ${LIBRARY_DIR}/common/zstd_errors.h | ||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") | ||
|
||
if (ZSTD_BUILD_SHARED) | ||
-- | ||
2.17.1 | ||
|