Fix tabs
This commit is contained in:
parent
7d6ddfa9f4
commit
cc76bad06f
1 changed files with 3 additions and 3 deletions
|
@ -1,19 +1,19 @@
|
||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
|
|
||||||
if(ESP_PLATFORM)
|
if(ESP_PLATFORM)
|
||||||
# Build RadioLib as an ESP-IDF component
|
# Build RadioLib as an ESP-IDF component
|
||||||
# required because ESP-IDF runs cmake in script mode
|
# required because ESP-IDF runs cmake in script mode
|
||||||
# and needs idf_component_register()
|
# and needs idf_component_register()
|
||||||
file(GLOB_RECURSE RADIOLIB_ESP_SOURCES
|
file(GLOB_RECURSE RADIOLIB_ESP_SOURCES
|
||||||
"src/*.*"
|
"src/*.*"
|
||||||
)
|
)
|
||||||
|
|
||||||
idf_component_register(
|
idf_component_register(
|
||||||
SRCS ${RADIOLIB_ESP_SOURCES}
|
SRCS ${RADIOLIB_ESP_SOURCES}
|
||||||
INCLUDE_DIRS . src
|
INCLUDE_DIRS . src
|
||||||
)
|
)
|
||||||
|
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_SCRIPT_MODE_FILE)
|
if(CMAKE_SCRIPT_MODE_FILE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue