0
0
mirror of https://github.com/facebook/zstd synced 2026-01-18 17:21:18 +01:00

[cmake] disable legacy support by default

can still be explicitly enabled
This commit is contained in:
Yann Collet
2025-12-18 13:11:37 -08:00
parent 38cce02684
commit b79e86291b

View File

@@ -2,8 +2,8 @@
# ZSTD Build Options Configuration
# ################################################################
# Legacy support configuration
option(ZSTD_LEGACY_SUPPORT "Enable legacy format support" ON)
# Legacy support configuration (disabled by default)
option(ZSTD_LEGACY_SUPPORT "Enable legacy format support" OFF)
if(ZSTD_LEGACY_SUPPORT)
message(STATUS "ZSTD_LEGACY_SUPPORT enabled")