fix uninitialized variable EXTRA_COMPONENT_DIRS

This commit is contained in:
morris 2020-05-26 12:44:05 +08:00
parent 6eb4bb16ec
commit 50b93ce130

View File

@ -2,10 +2,8 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS
${EXTRA_COMPONENT_DIRS}
"$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component/"
"$ENV{IDF_PATH}/examples/peripherals/rmt/ir_protocols/components")
list(APPEND EXTRA_COMPONENT_DIRS "$ENV{IDF_PATH}/examples/cxx/experimental/experimental_cpp_component/"
"$ENV{IDF_PATH}/examples/peripherals/rmt/ir_protocols/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(unit-test-app)