pmci: mctp: Fix No SOURCES CMake warning
The commit 1e0af58b51
("pmci: Move MCTP into the PMCI subsys") changes
'mctp' directory adding to unconditionally, which will cause:
CMake Warning at ./zephyrproject/zephyr/CMakeLists.txt:1022 (message):
No SOURCES given to Zephyr library: subsys__pmci__mctp
Excluding target from build.
Signed-off-by: Haiyue Wang <haiyuewa@163.com>
This commit is contained in:
parent
e93fdca1e4
commit
9c9c080b68
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(mctp)
|
||||
add_subdirectory_ifdef(CONFIG_MCTP mctp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue