diff --git a/README.md b/README.md index 25a7db5..e218dc2 100755 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ A simple and easy to use library for Philips Hue Lights * Linux * Windows * MacOS +* Espressif ESP32 SDK & Arduino ## How to use ### Searching for Bridges diff --git a/hueplusplus/CMakeLists.txt b/hueplusplus/CMakeLists.txt index 99182ba..6434813 100755 --- a/hueplusplus/CMakeLists.txt +++ b/hueplusplus/CMakeLists.txt @@ -26,6 +26,12 @@ if(UNIX) ${CMAKE_CURRENT_SOURCE_DIR}/LinHttpHandler.cpp ) endif() +if(ESP_PLATFORM) + set(hueplusplus_SOURCES + ${hueplusplus_SOURCES} + ${CMAKE_CURRENT_SOURCE_DIR}/LinHttpHandler.cpp + ) +endif() # Set global includes BEFORE adding any targets for legacy CMake versions