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 Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
This commit is contained in:
parent
11fae015e0
commit
ca09d1daa1
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_library()
|
||||
zephyr_library_property(ALLOW_EMPTY TRUE)
|
||||
zephyr_library_sources_ifdef(CONFIG_NET_HOSTNAME_ENABLE hostname.c)
|
||||
|
||||
if(CONFIG_NETWORKING)
|
||||
|
|
|
|||
Loading…
Reference in a new issue