提交 a8046813 编写于 作者: X xulongteng

fix gpu bug

上级 d75ee979
......@@ -20,10 +20,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
include_directories(SYSTEM ${CMAKE_CURRENT_LIST_DIR}/include)
include_directories(SYSTEM ${CMAKE_CURRENT_BINARY_DIR}/../)
find_library(CURL_LIB NAMES curl)
if (NOT CURL_LIB)
message(FATAL_ERROR "Fail to find curl")
endif()
#find_library(CURL_LIB NAMES curl)
#if (NOT CURL_LIB)
# message(FATAL_ERROR "Fail to find curl")
#endif()
add_executable(cube-builder src/main.cpp include/cube-builder/util.h src/util.cpp src/builder_job.cpp include/cube-builder/builder_job.h include/cube-builder/define.h src/seqfile_reader.cpp include/cube-builder/seqfile_reader.h include/cube-builder/raw_reader.h include/cube-builder/vtext.h src/crovl_builder_increment.cpp include/cube-builder/crovl_builder_increment.h src/curl_simple.cpp include/cube-builder/curl_simple.h)
......@@ -33,9 +33,10 @@ set(DYNAMIC_LIB
gflags
jsoncpp
brpc
-lcurl
-lssl
-lcrypto
${CURL_LIB}
# ${CURL_LIB}
)
target_link_libraries(cube-builder ${DYNAMIC_LIB})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册