diff --git a/src/obclient/CMakeLists.txt b/src/obclient/CMakeLists.txt index 9ac98352f8b3ecaa9f9ae1ad6b9df0c0b45dc65d..25a971684a4a0ff01e387e48f1595d78e8082dab 100644 --- a/src/obclient/CMakeLists.txt +++ b/src/obclient/CMakeLists.txt @@ -8,8 +8,6 @@ TARGET_INCLUDE_DIRECTORIES(obclient PRIVATE . ${PROJECT_SOURCE_DIR}/../deps /usr # 父cmake 设置的include_directories 和link_directories并不传导到子cmake里面 #INCLUDE_DIRECTORIES(BEFORE ${CMAKE_INSTALL_PREFIX}/include) -TARGET_LINK_DIRECTORIES(obclient PRIVATE /usr/local/lib ${PROJECT_BINARY_DIR}/../../lib) - # stdio.h 必须放在readline/readline.h 前面,因为readline头文件不能直接单独编译 CHECK_INCLUDE_FILES("stdio.h;readline/readline.h" HAVE_READLINE_HEADER)