提交 58bbd6f2 编写于 作者: S Shengliang Guan

config compile error

上级 aa6a0cb4
......@@ -6,10 +6,7 @@ target_include_directories(
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
target_link_libraries(
config
PRIVATE os util
)
target_link_libraries(config os util)
if(${BUILD_TEST})
ADD_SUBDIRECTORY(test)
......
......@@ -10,9 +10,7 @@
*/
#include <gtest/gtest.h>
#include "os.h"
#include "tfs.h"
#include "config.h"
class CfgTest : public ::testing::Test {
protected:
......@@ -26,6 +24,6 @@ class CfgTest : public ::testing::Test {
static const char *pConfig;
};
const char *TfsTest::pConfig;
const char *CfgTest::pConfig;
TEST_F(CfgTest, 01_Taos_File) {}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册