diff --git a/components/partition_table/CMakeLists.txt b/components/partition_table/CMakeLists.txt index 11fef65f0b..22e9c1f9d9 100644 --- a/components/partition_table/CMakeLists.txt +++ b/components/partition_table/CMakeLists.txt @@ -14,7 +14,7 @@ else() set(final_partition_target "build_partition_table") endif() -if(CONFIG_PARTITION_TABLE_MD5) +if(NOT CONFIG_PARTITION_TABLE_MD5) set(md5_opt --disable-md5sum) endif()