aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/protoc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/protoc.cmake')
-rw-r--r--cmake/protoc.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/protoc.cmake b/cmake/protoc.cmake
index 4f07c389..5777b16e 100644
--- a/cmake/protoc.cmake
+++ b/cmake/protoc.cmake
@@ -4,3 +4,4 @@ set(protoc_files
add_executable(protoc ${protoc_files})
target_link_libraries(protoc libprotobuf libprotoc)
+add_executable(protobuf::protoc ALIAS protoc)