From 6708779af98a2552b6179c29492803e41a68c748 Mon Sep 17 00:00:00 2001 From: Peter M Date: Tue, 2 Dec 2025 22:29:34 +0100 Subject: [PATCH] IDF_VERSION_MAJOR GREATER_EQUAL 5 Tiniest prep for idf6 otherwise untested. Signed-off-by: Peter M --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a27917b..d3798b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ # WHOLE_ARCHIVE option is supported only with esp-idf 5.x # A link option will be used with esp-idf 4.x -if (IDF_VERSION_MAJOR EQUAL 5) +if (IDF_VERSION_MAJOR GREATER_EQUAL 5) set(OPTIONAL_WHOLE_ARCHIVE WHOLE_ARCHIVE) else() set(OPTIONAL_WHOLE_ARCHIVE "")