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:
scheibelp
2017-09-01 10:32:04 -07:00
committed by GitHub
parent 48599837d8
commit 5342ecf364
2 changed files with 4 additions and 1 deletions

View File

@@ -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')