Skip to content

Commit

Permalink
posix: cmake: allow empty library
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
cfriedt authored and henrikbrixandersen committed Feb 5, 2024
1 parent 5f31c15 commit 4174ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/posix/options/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ zephyr_library_include_directories(
${ZEPHYR_BASE}/kernel/include
${ARCH_DIR}/${ARCH}/include
)

zephyr_library_property(ALLOW_EMPTY TRUE)

0 comments on commit 4174ff1

Please sign in to comment.