From b3670f10af98163b468dc1068edffdff8c719792 Mon Sep 17 00:00:00 2001 From: Samuel Rounce Date: Tue, 25 Dec 2018 10:48:21 +0000 Subject: [PATCH] Fix for greedy file(GLOB) --- cpp_utils/CMakeLists.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/cpp_utils/CMakeLists.txt b/cpp_utils/CMakeLists.txt index fab2ea80..cb9b7267 100644 --- a/cpp_utils/CMakeLists.txt +++ b/cpp_utils/CMakeLists.txt @@ -1,7 +1,20 @@ # Edit following two lines to set component requirements (see docs) -set(COMPONENT_REQUIRES ) +set(COMPONENT_REQUIRES + "console" + "fatfs" + "json" + "mdns" + "nvs_flash" +) set(COMPONENT_PRIV_REQUIRES ) +file(GLOB COMPONENT_SRCS + LIST_DIRECTORIES false + "*.h" + "*.cpp" + "*.c" + "*.S" +) set(COMPONENT_ADD_INCLUDEDIRS ".") register_component()