From 8de7b4881cfad80440ec625b7e8ca12368f9ce13 Mon Sep 17 00:00:00 2001 From: Li Cao Date: Fri, 22 Jan 2021 00:17:04 +0800 Subject: [PATCH] [build] only build unit tests when FTD is enabled (#6092) --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 65feb228f..8cb92b2ae 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -26,4 +26,6 @@ # POSSIBILITY OF SUCH DAMAGE. # +if(OT_FTD) add_subdirectory(unit) +endif()