We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d73245 + 6708779 commit 270f77aCopy full SHA for 270f77a
1 file changed
CMakeLists.txt
@@ -20,7 +20,7 @@
20
21
# WHOLE_ARCHIVE option is supported only with esp-idf 5.x
22
# A link option will be used with esp-idf 4.x
23
-if (IDF_VERSION_MAJOR EQUAL 5)
+if (IDF_VERSION_MAJOR GREATER_EQUAL 5)
24
set(OPTIONAL_WHOLE_ARCHIVE WHOLE_ARCHIVE)
25
else()
26
set(OPTIONAL_WHOLE_ARCHIVE "")
0 commit comments