From 381b82dbc306c420abe5bfd9b59f5219db3db9a4 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Fri, 31 Jul 2020 11:01:26 +0800 Subject: [PATCH] cmake file --- src/kit/taosmigrate/CMakeLists.txt | 2 +- src/sync/CMakeLists.txt | 2 +- src/wal/CMakeLists.txt | 2 +- src/wal/test/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/kit/taosmigrate/CMakeLists.txt b/src/kit/taosmigrate/CMakeLists.txt index 86b428c61b..fdd9dd8886 100644 --- a/src/kit/taosmigrate/CMakeLists.txt +++ b/src/kit/taosmigrate/CMakeLists.txt @@ -12,7 +12,7 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM)) AUX_SOURCE_DIRECTORY(. SRC) ADD_EXECUTABLE(taosmigrate ${SRC}) - TARGET_LINK_LIBRARIES(taosmigrate common tutil cJson) + TARGET_LINK_LIBRARIES(taosmigrate common cJson osdetail tutil) ENDIF () SET_SOURCE_FILES_PROPERTIES(./taosmigrate.c PROPERTIES COMPILE_FLAGS -w) diff --git a/src/sync/CMakeLists.txt b/src/sync/CMakeLists.txt index ca6a74f695..9b7def6a68 100644 --- a/src/sync/CMakeLists.txt +++ b/src/sync/CMakeLists.txt @@ -17,7 +17,7 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM)) LIST(APPEND BIN_SRC ./src/tarbitrator.c) LIST(APPEND BIN_SRC ./src/taosTcpPool.c) ADD_EXECUTABLE(tarbitrator ${BIN_SRC}) - TARGET_LINK_LIBRARIES(tarbitrator tutil sync common) + TARGET_LINK_LIBRARIES(tarbitrator sync common osdetail tutil) ADD_SUBDIRECTORY(test) ENDIF () diff --git a/src/wal/CMakeLists.txt b/src/wal/CMakeLists.txt index a9c20f643a..baed8d0960 100644 --- a/src/wal/CMakeLists.txt +++ b/src/wal/CMakeLists.txt @@ -9,7 +9,7 @@ INCLUDE_DIRECTORIES(inc) AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SRC) ADD_LIBRARY(twal ${SRC}) -TARGET_LINK_LIBRARIES(twal tutil common) +TARGET_LINK_LIBRARIES(twal common osdetail tutil) ADD_SUBDIRECTORY(test) diff --git a/src/wal/test/CMakeLists.txt b/src/wal/test/CMakeLists.txt index be0b8a948d..bfa6aa1540 100644 --- a/src/wal/test/CMakeLists.txt +++ b/src/wal/test/CMakeLists.txt @@ -10,7 +10,7 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM)) LIST(APPEND WALTEST_SRC ./waltest.c) ADD_EXECUTABLE(waltest ${WALTEST_SRC}) - TARGET_LINK_LIBRARIES(waltest twal) + TARGET_LINK_LIBRARIES(waltest twal osdetail tutil) ENDIF () -- GitLab