From 104da0f66a3510e6ae2fe53f0449c33e864a3de4 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 8 Mar 2026 01:04:02 +0900 Subject: [PATCH] internal/rosa/cmake: pass correct prefix This can change build output similar to autotools --prefix and DESTDIR, but was not clearly indicated to do so. Signed-off-by: Ophestra --- internal/rosa/cmake.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go index 73e756f..3d8664b 100644 --- a/internal/rosa/cmake.go +++ b/internal/rosa/cmake.go @@ -198,9 +198,9 @@ cmake -G ` + generate + ` \ } } }), " \\\n\t") + ` \ - -DCMAKE_INSTALL_PREFIX=/work/system \ + -DCMAKE_INSTALL_PREFIX=/system \ '/usr/src/` + name + `/` + path.Join(attr.Append...) + `' cmake --build .` + jobs + ` -cmake --install . +cmake --install . --prefix=/work/system ` + attr.Script }