From f2b9c64534062945437e5b883c194720be3135ca Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 30 Sep 2021 11:57:35 +0800 Subject: [PATCH] fix cmake error --- deps/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index f251ae34ed..137ad31d82 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -5,7 +5,8 @@ endif(${BUILD_TEST}) add_subdirectory(cJson) target_include_directories( cjson - PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/cJson + # see https://stackoverflow.com/questions/25676277/cmake-target-include-directories-prints-an-error-when-i-try-to-add-the-source + PUBLIC $ ) add_subdirectory(lz4/build/cmake) add_subdirectory(zlib)