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

Sun, 02 Apr 2023 09:33:20 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 02 Apr 2023 09:33:20 +0200
changeset 10
eee990609da7
parent 1
1c9894662795
permissions
-rw-r--r--

Fixed start of json status message.

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