fix: build with cmake --build . instead of make

This commit is contained in:
Lingjie 2025-03-13 19:47:41 +08:00 committed by GitHub
parent df71d2123a
commit 83820d97a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ if [ ! -f $CURRENT_DIR/tmux-mem-cpu-load ] && ! $(builtin type -P "tmux-mem-cpu-
exit 1
fi
if output=$(make 2>&1); then
if output=$(cmake --build . 2>&1); then
tmux run-shell "echo \"tmux-mem-cpu-load built successfully.
\""
else