Skip to content

Commit 270f77a

Browse files
committed
Merge pull request #6 from petermm/idf-6-wholearchive
IDF_VERSION_MAJOR GREATER_EQUAL 5
2 parents 1d73245 + 6708779 commit 270f77a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
# WHOLE_ARCHIVE option is supported only with esp-idf 5.x
2222
# A link option will be used with esp-idf 4.x
23-
if (IDF_VERSION_MAJOR EQUAL 5)
23+
if (IDF_VERSION_MAJOR GREATER_EQUAL 5)
2424
set(OPTIONAL_WHOLE_ARCHIVE WHOLE_ARCHIVE)
2525
else()
2626
set(OPTIONAL_WHOLE_ARCHIVE "")

0 commit comments

Comments
 (0)