aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-18 16:22:40 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-19 13:02:06 +0100
commit87a5d655882059439e69f304488f0b29e92ff7e3 (patch)
treeef7b3046b53114f21507984efda545ccd3b18c65 /templates
parent1985a6273ffe00215f082fc7ef3a27005f9c434c (diff)
gflags library target renamed in v2.2.0
Diffstat (limited to 'templates')
-rw-r--r--templates/CMakeLists.txt.template4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template
index 20c1b2797d..a326f36fe9 100644
--- a/templates/CMakeLists.txt.template
+++ b/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")