Skip to content

Commit

Permalink
Merge pull request #3079 from niamster/cmake-compat-5
Browse files Browse the repository at this point in the history
build:cmake: enable ZSTD legacy support by default
  • Loading branch information
Cyan4973 committed Mar 8, 2022
2 parents 930b5ce + 03bba1b commit db104f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ message(STATUS "CMAKE_INSTALL_LIBDIR: ${CMAKE_INSTALL_LIBDIR}")
#-----------------------------------------------------------------------------

# Legacy support
option(ZSTD_LEGACY_SUPPORT "LEGACY SUPPORT" OFF)
option(ZSTD_LEGACY_SUPPORT "LEGACY SUPPORT" ON)

if (ZSTD_LEGACY_SUPPORT)
message(STATUS "ZSTD_LEGACY_SUPPORT defined!")
Expand Down
2 changes: 1 addition & 1 deletion build/cmake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cmake -LH ..
Bool options can be set to `ON/OFF` with `-D[option]=[ON/OFF]`. You can configure cmake options like this:
```sh
cd build/cmake/builddir
cmake -DZSTD_BUILD_TESTS=ON -DZSTD_LEGACY_SUPPORT=ON ..
cmake -DZSTD_BUILD_TESTS=ON -DZSTD_LEGACY_SUPPORT=OFF ..
make
```

Expand Down

0 comments on commit db104f6

Please sign in to comment.