mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
libc_atomic: add file to cmake script
resolves an error where atomic related symbols cannot be found at cmake compile time. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
committed by
Mateusz Szafoni
parent
c831c8cc56
commit
234dd95e0b
@@ -19,3 +19,7 @@
|
||||
# ##############################################################################
|
||||
|
||||
add_subdirectory(${CONFIG_ARCH})
|
||||
|
||||
if(CONFIG_LIBC_ARCH_ATOMIC)
|
||||
target_sources(c PRIVATE arch_atomic.c)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user