mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-23 19:09:50 +01:00
Meson: properly install 'hyprland' symlink (#9091)
This commit is contained in:
parent
078e13f463
commit
d01756c1f4
2 changed files with 15 additions and 2 deletions
|
@ -248,7 +248,15 @@ target_precompile_headers(Hyprland PRIVATE
|
||||||
|
|
||||||
message(STATUS "Setting link libraries")
|
message(STATUS "Setting link libraries")
|
||||||
|
|
||||||
target_link_libraries(Hyprland rt PkgConfig::aquamarine_dep PkgConfig::hyprlang_dep PkgConfig::hyprutils_dep PkgConfig::hyprcursor_dep PkgConfig::hyprgraphics_dep PkgConfig::deps)
|
target_link_libraries(
|
||||||
|
Hyprland
|
||||||
|
rt
|
||||||
|
PkgConfig::aquamarine_dep
|
||||||
|
PkgConfig::hyprlang_dep
|
||||||
|
PkgConfig::hyprutils_dep
|
||||||
|
PkgConfig::hyprcursor_dep
|
||||||
|
PkgConfig::hyprgraphics_dep
|
||||||
|
PkgConfig::deps)
|
||||||
if(udis_dep_FOUND)
|
if(udis_dep_FOUND)
|
||||||
target_link_libraries(Hyprland PkgConfig::udis_dep)
|
target_link_libraries(Hyprland PkgConfig::udis_dep)
|
||||||
else()
|
else()
|
||||||
|
@ -369,7 +377,6 @@ install(
|
||||||
${CMAKE_INSTALL_FULL_BINDIR}/Hyprland \
|
${CMAKE_INSTALL_FULL_BINDIR}/Hyprland \
|
||||||
\"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/hyprland\" \
|
\"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/hyprland\" \
|
||||||
)")
|
)")
|
||||||
|
|
||||||
# session file
|
# session file
|
||||||
install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.desktop
|
install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.desktop
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions)
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions)
|
||||||
|
|
|
@ -49,3 +49,9 @@ executable(
|
||||||
],
|
],
|
||||||
install: true,
|
install: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install_symlink(
|
||||||
|
'hyprland',
|
||||||
|
install_dir: get_option('bindir'),
|
||||||
|
pointing_to: 'Hyprland',
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue