install: Prepend ${DESTDIR} when creating hyprland symbolic link (fixes #7280). (#7281)

This commit is contained in:
Yang, Ying-chao 2024-08-12 03:38:16 +08:00 committed by GitHub
parent 511eea71c6
commit 118d4e1001
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -330,7 +330,7 @@ install(
CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E create_symlink \
${CMAKE_INSTALL_FULL_BINDIR}/Hyprland \
${CMAKE_INSTALL_FULL_BINDIR}/hyprland
\"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/hyprland\" \
)")
# session file