From 4ac2bb927c3e388a92269a4cd23451e685adaae8 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Thu, 30 Sep 2021 10:33:08 +0800 Subject: [PATCH] [TD-10430] cjson include dir --- deps/CMakeLists.txt | 2 +- source/server/dnode/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 13f25fa112..f251ae34ed 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -4,7 +4,7 @@ endif(${BUILD_TEST}) add_subdirectory(cJson) target_include_directories( - cJSON + cjson PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/cJson ) add_subdirectory(lz4/build/cmake) diff --git a/source/server/dnode/CMakeLists.txt b/source/server/dnode/CMakeLists.txt index d93873282e..aea4e9e144 100644 --- a/source/server/dnode/CMakeLists.txt +++ b/source/server/dnode/CMakeLists.txt @@ -3,7 +3,7 @@ add_library(dnode ${DNODE_SRC}) target_link_libraries( dnode PUBLIC os - PUBLIC cJSON + PUBLIC cjson ) target_include_directories( dnode -- GitLab