From 421110ffa269346c9fd332b49d1a9695da790ee5 Mon Sep 17 00:00:00 2001 From: Jean-Roland Date: Fri, 24 Nov 2023 10:12:38 +0100 Subject: [PATCH] build: add recurse for unix files --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac9c77c5d..710a5a572 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,7 @@ elseif(WITH_FREERTOS_PLUS_TCP) file (GLOB Sources_Freertos_Plus_TCP "src/system/freertos_plus_tcp/*.c") list(APPEND Sources ${Sources_Freertos_Plus_TCP}) elseif(CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Darwin" OR CMAKE_SYSTEM_NAME MATCHES "BSD" OR POSIX_COMPATIBLE) - file (GLOB Sources_Unix "src/system/unix/*.c") + file (GLOB_RECURSE Sources_Unix "src/system/unix/*.c") list(APPEND Sources ${Sources_Unix}) elseif(CMAKE_SYSTEM_NAME MATCHES "Emscripten") file (GLOB Sources_Emscripten "src/system/emscripten/*.c")