esp-idf-lib/components/color/CMakeLists.txt

Mon, 17 Apr 2023 16:20:58 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 17 Apr 2023 16:20:58 +0200
changeset 32
84e54b14e7db
parent 1
1c9894662795
permissions
-rw-r--r--

Version 0.4.1 Measure internal chip temperature, range -10 to 80. Result available in mqtt json payload.

if(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3)
	message("Not including esp_timer in color")
    	set(req lib8tion)	
else()
    message("Including esp_timer in color")
    set(req lib8tion)	
endif()

idf_component_register(
    SRCS color.c
    INCLUDE_DIRS .
    REQUIRES ${req}
)

mercurial