diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 13f25fa1122a20d8280b19160cb74a1644c0544f..f251ae34ed6a8bce3bd185905810aa7ebac68af0 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 d93873282e2de53363bee16bfc097f68f4866d7f..aea4e9e144067d08035e1fd710d44f932295ffad 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