fix compile for raspbian on RaspberryPI 4B atomic not found error

This commit is contained in:
Allenscript 2019-12-03 13:07:42 +08:00
parent b1fe428721
commit 61f1506d3c
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
ADD_LIBRARY(os ${SRC})
TARGET_LINK_LIBRARIES(os m rt)
TARGET_LINK_LIBRARIES(os m rt atomic)
ENDIF ()