We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af80d11 commit 5b5e7b0Copy full SHA for 5b5e7b0
connectivity/netsocket/CMakeLists.txt
@@ -74,6 +74,12 @@ if("MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE=MESH" IN_LIST MBED_CONFIG_DE
74
target_link_libraries(mbed-netsocket-api PUBLIC mbed-nanostack-mbed_mesh_api)
75
endif()
76
77
+# Similarly if wifi networking is used bring in that library
78
+if("MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE=WIFI" IN_LIST MBED_CONFIG_DEFINITIONS)
79
+ if(TARGET mbed-wifi)
80
+ target_link_libraries(mbed-netsocket-api PUBLIC mbed-wifi)
81
+ endif()
82
+endif()
83
84
if("DEVICE_EMAC=1" IN_LIST MBED_TARGET_DEFINITIONS)
85
target_link_libraries(mbed-netsocket-api
0 commit comments