-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not use prebuilt protobuf of parent project with cmake. #740
Comments
Signed-off-by: owent <owent@tencent.com>
Signed-off-by: owent <owent@tencent.com>
Signed-off-by: owent <admin@owent.net>
Signed-off-by: owent <admin@owent.net>
@owent if you are using a prebuilt protobuf, how about gRPC? I think gRPC will be needed for most cases when protobuf is used in this repo. |
@ThomsonTan Using I create a script toolset to build all denpendencies of gRPC.(https://github.com/atframework/cmake-toolset)
|
It might be different depending on what version of CMake you use. I've seen it with |
Signed-off-by: owent <admin@owent.net>
Thanks, I checked the document of cmake just now and found I have add codes to check I think the case should be the same as the package name passed into |
Signed-off-by: owent <admin@owent.net>
Describe your environment
CMake, Windows
Steps to reproduce
Having a prebuilt of protobuf.
What is the expected behavior?
Do not trigger vcpkg.
What is the actual behavior?
Using vcpkg to installl protobuf again.
Additional context
Should use
Protobuf_FOUND
instead ofprotobuf_FOUND
.The text was updated successfully, but these errors were encountered: