From 7b01638c9f92f817c289871d1c544b2d827e5352 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 26 Jun 2020 22:18:21 +0800 Subject: [PATCH] make cmake files better. --- test/test_util/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_util/CMakeLists.txt b/test/test_util/CMakeLists.txt index 22e7f6b..598a561 100644 --- a/test/test_util/CMakeLists.txt +++ b/test/test_util/CMakeLists.txt @@ -1,5 +1,7 @@ -add_executable(testUtils main.cpp test_rsa.cpp) +file(GLOB testSrc *.cpp) + +add_executable(testUtils ${testSrc}) message(${GTEST_LIBS})