Skip to content
Snippets Groups Projects
Unverified Commit f83d98a6 authored by Brian Van Essen's avatar Brian Van Essen Committed by GitHub
Browse files

Protobuf's cmake environment does not properly handle being exported (#15293)

and found when using the RelWithDebInfo build type.  Change protobuf
to only support Release and Debug build types.
parent d6b0cf75
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,9 @@ class Protobuf(CMakePackage): ...@@ -39,6 +39,9 @@ class Protobuf(CMakePackage):
variant('shared', default=True, variant('shared', default=True,
description='Enables the build of shared libraries') description='Enables the build of shared libraries')
variant('build_type', default='Release',
description='The build type to build',
values=('Debug', 'Release'))
depends_on('zlib') depends_on('zlib')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment