Skip to content

Commit db104f6

Browse files
authored
Merge pull request #3079 from niamster/cmake-compat-5
build:cmake: enable ZSTD legacy support by default
2 parents 930b5ce + 03bba1b commit db104f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/cmake/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ message(STATUS "CMAKE_INSTALL_LIBDIR: ${CMAKE_INSTALL_LIBDIR}")
8282
#-----------------------------------------------------------------------------
8383

8484
# Legacy support
85-
option(ZSTD_LEGACY_SUPPORT "LEGACY SUPPORT" OFF)
85+
option(ZSTD_LEGACY_SUPPORT "LEGACY SUPPORT" ON)
8686

8787
if (ZSTD_LEGACY_SUPPORT)
8888
message(STATUS "ZSTD_LEGACY_SUPPORT defined!")

build/cmake/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cmake -LH ..
3737
Bool options can be set to `ON/OFF` with `-D[option]=[ON/OFF]`. You can configure cmake options like this:
3838
```sh
3939
cd build/cmake/builddir
40-
cmake -DZSTD_BUILD_TESTS=ON -DZSTD_LEGACY_SUPPORT=ON ..
40+
cmake -DZSTD_BUILD_TESTS=ON -DZSTD_LEGACY_SUPPORT=OFF ..
4141
make
4242
```
4343

0 commit comments

Comments
 (0)