wip
This commit is contained in:
parent
07c9f93fc6
commit
4d7a4a6a90
1 changed files with 2 additions and 1 deletions
|
@ -154,9 +154,10 @@ cloneAndBuildUtils() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
local cores="$(nproc 2>/dev/null || getconf _NPROCESSORS_CONF)"
|
||||||
echo_info "Building hyprlock"
|
echo_info "Building hyprlock"
|
||||||
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build
|
||||||
run cmake --build ./build --config Release --target hyprlock -j$(nproc 2>/dev/null || getconf _NPROCESSORS_CONF)
|
run cmake --build ./build --config Release --target hyprlock -j"$cores"
|
||||||
}
|
}
|
||||||
|
|
||||||
cloneAndBuildLock() {
|
cloneAndBuildLock() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue