Cannot install hyprlock after building it
I have followed the instructions in README.md to build hyprlock, but when I try to install it I get the following error message:
➜ hyprlock git:(main) sudo cmake --install build
-- Install configuration: "Release"
-- Up-to-date: /usr/local/bin/hyprlock
CMake Error at build/cmake_install.cmake:64 (install):
install command is not scriptable
Are you using the -P flag by any chance? It shouldn't happen without it.
If all else fails, use this patch.
Are you using the
-Pflag by any chance? It shouldn't happen without it.
Nope, I have copied the same commands in the README
If all else fails, use this patch.
This worked, thanks!
Worked for me as well, building on Ubuntu 23.10 (mantic).
And for anyone who is a new to this like I am, replace the lines in CMakeLists.txt BEFORE running any of the build commands, not after building but before installing. ;)