From 225b65707f428ea4fcfeb4b8a4a584f4f53d2668 Mon Sep 17 00:00:00 2001 From: Simon Guan Date: Thu, 13 Mar 2025 11:38:50 +0800 Subject: [PATCH] fix: enable test --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2be056ec4e..064765cd3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,7 @@ include(${TD_SUPPORT_DIR}/cmake.options) include(${TD_SUPPORT_DIR}/cmake.define) include(${TD_SUPPORT_DIR}/cmake.version) include(${TD_SUPPORT_DIR}/cmake.install) +enable_testing() set_property(GLOBAL PROPERTY GLOBAL_DEPENDS_NO_CYCLES OFF) @@ -34,6 +35,5 @@ add_subdirectory(docs/doxgen) if(${BUILD_TEST}) include(CTest) - enable_testing() add_subdirectory(examples/c) endif(${BUILD_TEST}) \ No newline at end of file