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 <cat@gensokyo.uk>
This commit is contained in:
2026-03-08 01:04:02 +09:00
parent d996d9fbb7
commit 104da0f66a

View File

@@ -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
}