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.
This commit is contained in:
parent
d6b0cf75ed
commit
f83d98a62d
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ class Protobuf(CMakePackage):
|
|||
|
||||
variant('shared', default=True,
|
||||
description='Enables the build of shared libraries')
|
||||
variant('build_type', default='Release',
|
||||
description='The build type to build',
|
||||
values=('Debug', 'Release'))
|
||||
|
||||
depends_on('zlib')
|
||||
|
||||
|
|
Loading…
Reference in a new issue