diff options
author | 2018-08-28 13:58:00 -0700 | |
---|---|---|
committer | 2018-08-28 13:58:00 -0700 | |
commit | 60b6f2df20d490107c17eca1c8a2cccecfd97119 (patch) | |
tree | c10378129f681d544e6cb74c381778a786906f7f /cmake/gflags.cmake | |
parent | d69fdefcfa564ec60dba1d77483d62c8315ae2f3 (diff) | |
parent | ee65a5eaee45a765d1d4176a797bb8288faeb180 (diff) |
Merge branch 'master' into minor-timer-fix
Diffstat (limited to 'cmake/gflags.cmake')
-rw-r--r-- | cmake/gflags.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/gflags.cmake b/cmake/gflags.cmake index 01e0a75b60..c301b1cdb6 100644 --- a/cmake/gflags.cmake +++ b/cmake/gflags.cmake @@ -28,8 +28,8 @@ if("${gRPC_GFLAGS_PROVIDER}" STREQUAL "module") elseif("${gRPC_GFLAGS_PROVIDER}" STREQUAL "package") # Use "CONFIG" as there is no built-in cmake module for gflags. find_package(gflags REQUIRED CONFIG) - if(TARGET gflags::gflags) - set(_gRPC_GFLAGS_LIBRARIES gflags::gflags) + if(TARGET gflags) + set(_gRPC_GFLAGS_LIBRARIES gflags) set(_gRPC_GFLAGS_INCLUDE_DIR ${GFLAGS_INCLUDE_DIR}) endif() set(_gRPC_FIND_GFLAGS "if(NOT gflags_FOUND)\n find_package(gflags CONFIG)\nendif()") |