kopia lustrzana https://github.com/espressif/esp-idf
fix: bypass Manually-specified variables were not used by the project warning
the variable "IDF_TARGET" is only used under a if clause "if(ULP_C0CPU_IS_RISCV)". while building a non-riscv target, there will be a cmake warning: CMake Warning: Manually-specified variables were not used by the project: IDF_TARGETpull/9408/head
rodzic
97132c40fd
commit
f04a0cc526
|
@ -68,6 +68,8 @@ add_custom_target(${ULP_APP_NAME}_ld_script
|
|||
DEPENDS ${ULP_LD_SCRIPT}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
# To avoid warning "Manually-specified variables were not used by the project"
|
||||
set(bypassWarning "${IDF_TARGET}")
|
||||
if(ULP_COCPU_IS_RISCV)
|
||||
#risc-v ulp uses extra files for building:
|
||||
list(APPEND ULP_S_SOURCES
|
||||
|
|
Ładowanie…
Reference in New Issue