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 7d99fd1 commit dfa5925Copy full SHA for dfa5925
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