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")
|
||||
|
||||
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)
|
||||
target_link_libraries(Hyprland PkgConfig::udis_dep)
|
||||
else()
|
||||
|
@ -369,7 +377,6 @@ install(
|
|||
${CMAKE_INSTALL_FULL_BINDIR}/Hyprland \
|
||||
\"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/hyprland\" \
|
||||
)")
|
||||
|
||||
# session file
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions)
|
||||
|
|
|
@ -49,3 +49,9 @@ executable(
|
|||
],
|
||||
install: true,
|
||||
)
|
||||
|
||||
install_symlink(
|
||||
'hyprland',
|
||||
install_dir: get_option('bindir'),
|
||||
pointing_to: 'Hyprland',
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue