commit | f7a05844eb39daaf057c4048e7acbe40a1c7e0da | [log] [tgz] |
---|---|---|
author | Corentin Le Molgat <corentinl@google.com> | Mon Jan 29 15:13:23 2018 +0100 |
committer | Corentin Le Molgat <corentinl@google.com> | Thu Feb 01 20:31:36 2018 +0100 |
tree | cb6d3ed4e4047b3fee5208fc18ff7d11bcc1d1fe | |
parent | 3bc0282fb688547de7e4533e865904e3b030d5b2 [diff] [blame] |
Add CMake ALIAS targets We follow the findProtobuf.cmake naming convention to ease the use of protobuf as cmake subproject
diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake index a85dccd..5f6d078 100644 --- a/cmake/libprotoc.cmake +++ b/cmake/libprotoc.cmake
@@ -228,3 +228,4 @@ VERSION ${protobuf_VERSION} OUTPUT_NAME ${LIB_PREFIX}protoc DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}") +add_library(protobuf::libprotoc ALIAS libprotoc)