[build] only build unit tests when FTD is enabled (#6092)

This commit is contained in:
Li Cao
2021-01-21 08:17:04 -08:00
committed by GitHub
parent 9725cf1531
commit 8de7b4881c
+2
View File
@@ -26,4 +26,6 @@
# POSSIBILITY OF SUCH DAMAGE.
#
if(OT_FTD)
add_subdirectory(unit)
endif()