From 66d9c5b5541f323a6994ffd42f123c113f08b291 Mon Sep 17 00:00:00 2001 From: TAKANO Mitsuhiro Date: Wed, 22 Jul 2026 22:48:25 +0900 Subject: [PATCH] cmake: fix "retde-decompiler" typo in RETDEC_ENABLE component matching The match string for the retdec-decompiler component was missing a 'c', so the documented invocation cmake -DRETDEC_ENABLE=retdec-decompiler .. never matched any component. Since no component flag got set, RETDEC_ENABLE_ALL stayed ON and the entire project was built instead of the requested minimal set; in a mixed list such as -DRETDEC_ENABLE=retdec-decompiler,fileformat the decompiler component was silently dropped. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014nNMVbAuffaPPQuYdLZgD1 --- cmake/options.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/options.cmake b/cmake/options.cmake index bb3d4fc17..0ed9d2bd5 100644 --- a/cmake/options.cmake +++ b/cmake/options.cmake @@ -95,7 +95,7 @@ foreach(t ${RETDEC_ENABLE}) set_if_equal(${t} "pdbparser" RETDEC_ENABLE_PDBPARSER) set_if_equal(${t} "pelib" RETDEC_ENABLE_PELIB) set_if_equal(${t} "retdec" RETDEC_ENABLE_RETDEC) - set_if_equal(${t} "retde-decompiler" RETDEC_ENABLE_RETDEC_DECOMPILER) + set_if_equal(${t} "retdec-decompiler" RETDEC_ENABLE_RETDEC_DECOMPILER) set_if_equal(${t} "retdectool" RETDEC_ENABLE_RETDECTOOL) set_if_equal(${t} "rtti-finder" RETDEC_ENABLE_RTTI_FINDER) set_if_equal(${t} "serdes" RETDEC_ENABLE_SERDES)