posix: cmake: allow empty library
This change mitigates the following cmake warning No SOURCES given to Zephyr library: lib__posix__options without needing to have a separate interface library (as we do not need private headers exposed). Signed-off-by: Christopher Friedt <cfriedt@meta.com>
This commit is contained in:
parent
5f31c15b1d
commit
4174ff119d
1 changed files with 2 additions and 0 deletions
|
@ -61,3 +61,5 @@ zephyr_library_include_directories(
|
|||
${ZEPHYR_BASE}/kernel/include
|
||||
${ARCH_DIR}/${ARCH}/include
|
||||
)
|
||||
|
||||
zephyr_library_property(ALLOW_EMPTY TRUE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue