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:
Christopher Friedt 2024-02-04 16:21:17 -05:00 committed by Henrik Brix Andersen
commit 4174ff119d

View file

@ -61,3 +61,5 @@ zephyr_library_include_directories(
${ZEPHYR_BASE}/kernel/include
${ARCH_DIR}/${ARCH}/include
)
zephyr_library_property(ALLOW_EMPTY TRUE)