diff options
Diffstat (limited to 'internal/rosa/cmake.go')
| -rw-r--r-- | internal/rosa/cmake.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 78b2f69c..6aa47fbd 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -119,9 +119,6 @@ func init() { // CMakeHelper is the [CMake] build system helper. type CMakeHelper struct { - // Joined with name with a dash if non-empty. - Variant string - // Path elements joined with source. Append []string @@ -136,14 +133,6 @@ type CMakeHelper struct { var _ Helper = new(CMakeHelper) -// name returns its arguments and an optional variant string joined with '-'. -func (attr *CMakeHelper) name(name, version string) string { - if attr != nil && attr.Variant != "" { - name += "-" + attr.Variant - } - return name + "-" + version -} - // extra returns a hardcoded slice of [CMake] and [Ninja]. func (attr *CMakeHelper) extra(int) P { if attr != nil && attr.Make { |
