From 6c0e357291a0adf52b840f050125e0692039df6a Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 26 Oct 2020 11:25:04 +0800 Subject: [PATCH] [td-225] update CMakeLists.txt --- src/util/tests/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/util/tests/CMakeLists.txt b/src/util/tests/CMakeLists.txt index 8687a8005d..eb6ffa384f 100644 --- a/src/util/tests/CMakeLists.txt +++ b/src/util/tests/CMakeLists.txt @@ -13,3 +13,12 @@ IF (HEADER_GTEST_INCLUDE_DIR AND LIB_GTEST_STATIC_DIR) ADD_EXECUTABLE(utilTest ${SOURCE_LIST}) TARGET_LINK_LIBRARIES(utilTest tutil common osdetail gtest pthread gcov) ENDIF() + +IF (TD_LINUX) + ADD_EXECUTABLE(trefTest ./trefTest.c) + TARGET_LINK_LIBRARIES(trefTest tutil common) +ENDIF () + +INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc) + + -- GitLab