Commit 299eb5c3 for xz

commit 299eb5c3f597f107fd6019bf156885ac8bfaa5ea
Author: LinkTheOperatorMatrix <linktheoperatormatrix@gmail.com>
Date:   Fri Oct 16 00:25:12 2026 +0300

    CMake: Fix wrong variable name in the MicroLZMA test condition

    tests.cmake checked DECODERS instead of XZ_DECODERS. With
    XZ_MICROLZMA_DECODER=OFF, test_microlzma was incorrectly added
    to the list of tests, which resulted in a build failure.

    Closes: https://github.com/tukaani-project/xz/pull/255

diff --git a/tests/tests.cmake b/tests/tests.cmake
index 715b0c1e..5035f7b0 100644
--- a/tests/tests.cmake
+++ b/tests/tests.cmake
@@ -74,7 +74,7 @@ if(BUILD_TESTING)
     # not possible in the Autotools build, so the test was not made to
     # support it since it would have required additional changes.
     if (XZ_MICROLZMA_ENCODER AND (XZ_MICROLZMA_DECODER
-            OR NOT "lzma1" IN_LIST DECODERS))
+            OR NOT "lzma1" IN_LIST XZ_DECODERS))
         list(APPEND LIBLZMA_TESTS test_microlzma)
     endif()