From e795914d73f2ba59c947cd67dffc7ba20cd7ea9c Mon Sep 17 00:00:00 2001 From: xulongteng Date: Mon, 23 Sep 2019 10:55:21 +0800 Subject: [PATCH] fix gpu bug --- cube/cube-builder/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cube/cube-builder/CMakeLists.txt b/cube/cube-builder/CMakeLists.txt index 2048e24f..8011e51e 100755 --- a/cube/cube-builder/CMakeLists.txt +++ b/cube/cube-builder/CMakeLists.txt @@ -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}) -- GitLab