diff options
author | Takashi Matsuo <tmatsuo@google.com> | 2019-07-11T20·11-0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11T20·11-0700 |
commit | aefb8c98b00ffd23543f295b9b5b70532f1afee9 (patch) | |
tree | b928171af159ddbf109a77f35b2067503c23775b /cmake/FindProtobufTargets.cmake | |
parent | 620940a411b3723e1641dc253e5a15d27852f515 (diff) |
Add ci scripts (#1)
* Add ci scripts * Move config files to ci/kokoro/docker * Remove dump-logs etc * Simplified grpc installation * Add Ubuntu 16.04 kokoro config * Address code review
Diffstat (limited to 'cmake/FindProtobufTargets.cmake')
-rw-r--r-- | cmake/FindProtobufTargets.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/FindProtobufTargets.cmake b/cmake/FindProtobufTargets.cmake index db260280d3cd..28cb36fca8c5 100644 --- a/cmake/FindProtobufTargets.cmake +++ b/cmake/FindProtobufTargets.cmake @@ -99,14 +99,14 @@ if (protobuf_FOUND) "ProtobufTargets_FOUND = ${ProtobufTargets_FOUND}" " ProtobufTargets_VERSION = ${ProtobufTargets_VERSION}") endif () -else() +else () find_package(Protobuf QUIET) if (Protobuf_FOUND) set(ProtobufTargets_FOUND 1) set(ProtobufTargets_VERSION ${Protobuf_VERSION}) if (NOT TARGET protobuf::libprotobuf) - add_library(protobuf::libprotobuf INTERFACE IMPORTED) + add_library(protobuf::libprotobuf IMPORTED INTERFACE) set_property(TARGET protobuf::libprotobuf PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Protobuf_INCLUDE_DIR}) @@ -117,7 +117,7 @@ else() endif () if (NOT TARGET protobuf::libprotobuf-lite) - add_library(protobuf::libprotobuf-lite INTERFACE IMPORTED) + add_library(protobuf::libprotobuf-lite IMPORTED INTERFACE) set_property(TARGET protobuf::libprotobuf-lite PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Protobuf_INCLUDE_DIR}) @@ -128,7 +128,7 @@ else() endif () if (NOT TARGET protobuf::libprotoc) - add_library(protobuf::libprotoc INTERFACE IMPORTED) + add_library(protobuf::libprotoc IMPORTED INTERFACE) set_property(TARGET protobuf::libprotoc PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Protobuf_INCLUDE_DIR}) |