mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-13 20:24:53 +08:00
25 lines
536 B
Diff
25 lines
536 B
Diff
diff --git a/cdk/cmake/DepFindProtobuf.cmake b/cdk/cmake/DepFindProtobuf.cmake
|
|
index 1fc785e..2ba7e99 100644
|
|
--- a/cdk/cmake/DepFindProtobuf.cmake
|
|
+++ b/cdk/cmake/DepFindProtobuf.cmake
|
|
@@ -44,9 +44,9 @@
|
|
#
|
|
#
|
|
|
|
-if(TARGET ext::protobuf)
|
|
+if(COMMAND mysqlx_protobuf_generate_cpp)
|
|
return()
|
|
-endif()
|
|
+elseif(0)
|
|
|
|
message(STATUS "Setting up Protobuf.")
|
|
|
|
@@ -66,6 +66,7 @@ add_ext_targets(protobuf
|
|
)
|
|
|
|
|
|
+endif()
|
|
# Standard PROTOBUF_GENERATE_CPP modified to our usage
|
|
function(mysqlx_protobuf_generate_cpp SRCS HDRS)
|
|
IF(NOT ARGN)
|