diff --git a/sched/mqueue/CMakeLists.txt b/sched/mqueue/CMakeLists.txt index 3eea3b931bbec..7a30bf815a011 100644 --- a/sched/mqueue/CMakeLists.txt +++ b/sched/mqueue/CMakeLists.txt @@ -22,7 +22,7 @@ set(SRCS) -if(NOT CONFIG_DISABLE_MQUEUE OR NOT CONFIG_DISABLE_MQUEUE) +if(NOT CONFIG_DISABLE_MQUEUE OR NOT CONFIG_DISABLE_MQUEUE_SYSV) list(APPEND SRCS mq_initialize.c mq_waitirq.c mq_recover.c) endif() @@ -44,7 +44,7 @@ if(NOT CONFIG_DISABLE_MQUEUE) endif() -if(NOT CONFIG_DISABLE_MQUEUE) +if(NOT CONFIG_DISABLE_MQUEUE_SYSV) list( APPEND