mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-05 05:07:49 +00:00
system/libuv: Sync CMakeLists.txt with Makefile
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f9c6e18693
commit
e8497e5355
1 changed files with 6 additions and 2 deletions
|
|
@ -49,9 +49,13 @@ if(CONFIG_LIBUV)
|
|||
# ############################################################################
|
||||
|
||||
set(CFLAGS
|
||||
-Wno-shadow -DDEF_THREADPOOL_SIZE=CONFIG_LIBUV_THREADPOOL_SIZE
|
||||
-Wno-shadow
|
||||
-DDEF_THREADPOOL_SIZE=CONFIG_LIBUV_THREADPOOL_SIZE
|
||||
-DDEF_THREADPOOL_STACKSIZE=CONFIG_LIBUV_THREAD_STACKSIZE
|
||||
-DDEF_THREADPOOL_PRIORITY=CONFIG_LIBUV_THREADPOOL_PRIORITY)
|
||||
-DDEF_THREADPOOL_PRIORITY=CONFIG_LIBUV_THREADPOOL_PRIORITY
|
||||
-DMAX_EPOLL_EVENTS=CONFIG_LIBUV_MAX_EPOLL_EVENTS
|
||||
-DPREP_EVENT_SIZE=CONFIG_LIBUV_PREP_EVENT_SIZE
|
||||
-DDEF_STREAM_READ_BUF_SIZE=CONFIG_LIBUV_STREAM_READ_BUF_SIZE)
|
||||
|
||||
if(GCCVER GREATER_EQUAL 12)
|
||||
list(APPEND CFLAGS -Wno-dangling-pointer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue