diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-18 13:44:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-18 13:44:41 +0900 |
| commit | 8d9b14dfe1fe2129b1cc1faa1b81b437f45de902 (patch) | |
| tree | da833adc13004e2de46b7f3a1f3fbcbd0e54b566 | |
| parent | 5770f957e5edd7314851a6636bd8defdb7e7a1e3 (diff) | |
internal/rosa/cmake: disable nuisance warnings
Author warnings are pointless here, and it makes no sense to make CMAKE_<LANG>_COMPILER_TARGET optional just to shut cmake up.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/cmake.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 6470758a..43defd87 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -84,6 +84,7 @@ func (attr *CMakeHelper) script(t Toolchain, name string) string { return ` cmake -G ` + generate + ` \ + -Wno-author -Wno-unused-cli \ -DCMAKE_C_COMPILER_TARGET="${ROSA_TRIPLE}" \ -DCMAKE_CXX_COMPILER_TARGET="${ROSA_TRIPLE}" \ -DCMAKE_ASM_COMPILER_TARGET="${ROSA_TRIPLE}" \ |
