esp-idf-lib/components/hmc5883l/CMakeLists.txt@c5a9bde0268f
esp-idf-lib/components/hmc5883l/CMakeLists.txt
Wed, 12 Apr 2023 16:37:17 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Wed, 12 Apr 2023 16:37:17 +0200
- changeset 25
- c5a9bde0268f
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
A bit simpler mqtt event handling.
if(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3)
set(req i2cdev log esp_idf_lib_helpers)
else()
set(req i2cdev log esp_idf_lib_helpers esp_timer)
endif()
idf_component_register(
SRCS hmc5883l.c
INCLUDE_DIRS .
REQUIRES ${req}
)