Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install hyprlock after building it #228

Open
mrunix00 opened this issue Mar 24, 2024 · 3 comments
Open

Cannot install hyprlock after building it #228

mrunix00 opened this issue Mar 24, 2024 · 3 comments

Comments

@mrunix00
Copy link
Contributor

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
@fufexan
Copy link
Member

fufexan commented Mar 24, 2024

Are you using the -P flag by any chance? It shouldn't happen without it.

If all else fails, use this patch.

@mrunix00
Copy link
Contributor Author

mrunix00 commented Mar 24, 2024

Are you using the -P flag 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!

@hhhorb
Copy link

hhhorb commented Mar 29, 2024

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. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants