From ab72e9d492987ff27a480bdc5011b447c2ada520 Mon Sep 17 00:00:00 2001 From: Duncan Bellamy Date: Mon, 24 May 2021 14:17:34 +0100 Subject: [Minor] change headers for zstd depending on bundled or system used follow on patch from #3764 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a110f14f7..b46de3f4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -633,6 +633,7 @@ IF(SYSTEM_ZSTD MATCHES "OFF") ELSE() ProcessPackage(LIBZSTD LIBRARY zstd INCLUDE zstd.h ROOT ${LIBZSTD_ROOT_DIR} MODULES zstd) + ADD_DEFINITIONS(-DSYS_ZSTD) ENDIF() IF(ENABLE_SNOWBALL MATCHES "ON") ADD_SUBDIRECTORY(contrib/snowball) -- cgit v1.2.3