diff --git a/CMakeLists.txt b/CMakeLists.txt index ab58eb3..654468e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,5 +13,6 @@ set(COMPONENT_REQUIRES register_component() +if (IDF_VER STRGREATER_EQUAL "v4.0") target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-expansion-to-defined) - +endif() diff --git a/library.json b/library.json index bedac3c..810d1a7 100644 --- a/library.json +++ b/library.json @@ -13,7 +13,7 @@ "url": "https://github.com/manuelbl/ttn-esp32.git", "branch": "dev" }, - "version": "2.3.2", + "version": "3.0.99", "license": "MIT License", "export": { "include": [