gflags library target renamed in v2.2.0

pull/9382/head
Jan Tattermusch 8 years ago
parent 1985a6273f
commit 87a5d65588
  1. 4
      templates/CMakeLists.txt.template

@ -210,8 +210,8 @@
endif()
if(EXISTS "<%text>${GFLAGS_ROOT_DIR}</%text>/CMakeLists.txt")
add_subdirectory(<%text>${GFLAGS_ROOT_DIR}</%text> third_party/gflags)
if(TARGET gflags-static)
set(_gRPC_GFLAGS_LIBRARIES gflags-static)
if(TARGET gflags_static)
set(_gRPC_GFLAGS_LIBRARIES gflags_static)
endif()
else()
message(WARNING "gRPC_GFLAGS_PROVIDER is \"module\" but GFLAGS_ROOT_DIR is wrong")

Loading…
Cancel
Save