Skip to content

Commit aa5f92d

Browse files
authored
tweak cmake guard
1 parent aed45b2 commit aa5f92d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pico_w/wifi/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ else()
2020
add_subdirectory_exclude_platforms(http_client)
2121
add_subdirectory_exclude_platforms(mqtt)
2222

23-
if (NOT PICO_MBEDTLS_PATH)
24-
message("Skipping some examples as PICO_MBEDTLS_PATH is not defined")
23+
if (NOT TARGET pico_mbed_tls)
24+
message("Skipping tls_client and ota_update examples as Mbed TLS is not available")
2525
else()
2626
add_subdirectory_exclude_platforms(tls_client)
2727
add_subdirectory_exclude_platforms(ota_update rp2040)

0 commit comments

Comments
 (0)