diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c2abdd9559d..5bdb98aad5d 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -4,10 +4,10 @@ add_compile_options($) add_subdirectory(crc) -if(NOT CONFIG_EXTERNAL_LIBC) +if(NOT CONFIG_NATIVE_LIBC) add_subdirectory(libc) -add_subdirectory(posix) endif() +add_subdirectory(posix) add_subdirectory_ifdef(CONFIG_CPP cpp) add_subdirectory(hash) add_subdirectory(heap)