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
@ -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')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user