aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/cmake.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/cmake.go')
-rw-r--r--internal/rosa/cmake.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/cmake.go b/internal/rosa/cmake.go
index 1266527f..ccb128aa 100644
--- a/internal/rosa/cmake.go
+++ b/internal/rosa/cmake.go
@@ -76,7 +76,7 @@ func (*CMakeHelper) scriptEarly() string { return "" }
func (*CMakeHelper) wantsDir() (string, bool) { return "/cure/", true }
// script generates the cure script.
-func (attr *CMakeHelper) script(t Toolchain, name string) string {
+func (attr *CMakeHelper) script(t Toolchain, _ string) string {
if attr == nil {
attr = new(CMakeHelper)
}
@@ -140,7 +140,7 @@ cmake -G ` + generate + ` \
}
}), " \\\n\t") + ` \
-DCMAKE_INSTALL_PREFIX=` + Prefix + ` \
- '/usr/src/` + name + `/` + filepath.Join(attr.Append...) + `'
+ '/source/` + filepath.Join(attr.Append...) + `'
cmake --build . --parallel=` + jobsE + ` -- ` + loadFlagE + `
DESTDIR=/work cmake --install .
` + script