From 9d834d7c2f63e87a79bd15f515d90703f98b6333 Mon Sep 17 00:00:00 2001 From: Dirk Helbig Date: Mon, 13 Mar 2023 12:06:22 +0100 Subject: [PATCH] esp32: fixed version macro --- port/esp32/components/btstack/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/esp32/components/btstack/CMakeLists.txt b/port/esp32/components/btstack/CMakeLists.txt index c17ae5afd..2098b7af7 100644 --- a/port/esp32/components/btstack/CMakeLists.txt +++ b/port/esp32/components/btstack/CMakeLists.txt @@ -44,7 +44,7 @@ set(src_dirs "${IDF_PATH}/components/lwip/lwip/src/apps/http" ".") -if(IDF_VER VERSION_GREATER_EQUAL "v5.0.0") +if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.0") set(exclude_srcs "btstack_audio_esp32_v4.c") else() set(exclude_srcs "btstack_audio_esp32_v5.c")