Commit f5c05b96 authored by zhujiashun's avatar zhujiashun

remove find threads

parent 8093314b
...@@ -61,7 +61,7 @@ if(NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0)) ...@@ -61,7 +61,7 @@ if(NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0))
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-aligned-new") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-aligned-new")
endif() endif()
find_package(Threads REQUIRED) #find_package(Threads REQUIRED)
#find_path(GFLAGS_HEADER NAMES gflags/gflags.h) #find_path(GFLAGS_HEADER NAMES gflags/gflags.h)
#find_library(GFLAGS_LIB NAMES gflags) #find_library(GFLAGS_LIB NAMES gflags)
......
...@@ -191,7 +191,7 @@ add_library(brpc SHARED ${SOURCES}) ...@@ -191,7 +191,7 @@ add_library(brpc SHARED ${SOURCES})
add_library(brpc_static STATIC ${SOURCES}) add_library(brpc_static STATIC ${SOURCES})
target_link_libraries(brpc target_link_libraries(brpc
${CMAKE_THREAD_LIBS_INIT} #${CMAKE_THREAD_LIBS_INIT}
#${THREADS_LIB} #${THREADS_LIB}
#${GFLAGS_LIB} #${GFLAGS_LIB}
${GFLAGS_LIBRARY} ${GFLAGS_LIBRARY}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment