Skip to content

Commit b947ee3

Browse files
CMake: Fix dirs and sources visibility for mbed-emac CMake target
The mbed-emac CMake target is an interface library and as such its include dirs and sources have to be have the INTERFACE visibility.
1 parent e8614b3 commit b947ee3

File tree

1 file changed

+2
-3
lines changed
  • connectivity/drivers/emac/TARGET_RENESAS_EMAC/TARGET_RZ_A2XX

1 file changed

+2
-3
lines changed

connectivity/drivers/emac/TARGET_RENESAS_EMAC/TARGET_RZ_A2XX/CMakelists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
target_include_directories(mbed-emac
5-
PUBLIC
5+
INTERFACE
66
.
77
r_ether_rza2
88
r_ether_rza2/src/phy
99
r_ether_rza2/src/targets/TARGET_GR_MANGO
10-
PRIVATE
1110
r_ether_rza2/src
1211
)
1312

1413
target_sources(mbed-emac
15-
PRIVATE
14+
INTERFACE
1615
rza2_emac.cpp
1716
r_ether_rza2/src/r_ether_rza2.c
1817
r_ether_rza2/src/phy/phy.c

0 commit comments

Comments
 (0)