]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[cmake] disable legacy support by default
authorYann Collet <cyan@fb.com>
Thu, 18 Dec 2025 21:11:37 +0000 (13:11 -0800)
committerYann Collet <cyan@fb.com>
Thu, 18 Dec 2025 21:11:37 +0000 (13:11 -0800)
can still be explicitly enabled

build/cmake/CMakeModules/ZstdOptions.cmake

index 3fca543a78e38aa3d2911c16ee94beff198db584..dc7813444e27d0f95d7246ab17e2f8fd570cc5a6 100644 (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")