Set default cmake build_type to Release for llvm
Override CMake "build_type" variant to default to "Release" for llvm package.
This commit is contained in:
@@ -84,7 +84,7 @@ class CMakePackage(PackageBase):
|
||||
|
||||
# https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html
|
||||
variant('build_type', default='RelWithDebInfo',
|
||||
description='The build type to build',
|
||||
description='CMake build type',
|
||||
values=('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel'))
|
||||
|
||||
depends_on('cmake', type='build')
|
||||
|
Reference in New Issue
Block a user