提交 f2b9c645 编写于 作者: H Hongze Cheng

fix cmake error

上级 279374ca
......@@ -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 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/cJson>
)
add_subdirectory(lz4/build/cmake)
add_subdirectory(zlib)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册