Skip to content

Commit 2f8b289

Browse files
[nrf fromlist] net: silence no sources cmake warning
add `ALLOW_EMPTY TRUE` property to silence cmake warnings in case when no sources are added to subsys__net library Upstream PR: zephyrproject-rtos/zephyr#79913 Signed-off-by: Maciej Baczmanski <[email protected]>
1 parent ed414be commit 2f8b289

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/net/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
zephyr_library()
4+
zephyr_library_property(ALLOW_EMPTY TRUE)
45
zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c)
56

67
if(CONFIG_NETWORKING)

0 commit comments

Comments
 (0)