mirror of
https://github.com/hyprwm/hyprsysteminfo.git
synced 2026-05-04 08:17:59 +02:00
CMake: fix .desktop path, dedup deps
This commit is contained in:
parent
558bd1241f
commit
1373b9250d
1 changed files with 4 additions and 5 deletions
|
|
@ -37,12 +37,11 @@ pkg_check_modules(
|
|||
deps
|
||||
REQUIRED
|
||||
IMPORTED_TARGET
|
||||
hyprutils
|
||||
hyprtoolkit
|
||||
pixman-1
|
||||
libdrm
|
||||
hyprutils>=0.10.2
|
||||
libdrm
|
||||
libpci
|
||||
pixman-1
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
|
|
@ -70,7 +69,7 @@ add_executable(hyprsysteminfo ${SRCFILES})
|
|||
target_link_libraries(hyprsysteminfo PkgConfig::deps)
|
||||
|
||||
install(
|
||||
FILES contrib/hyprsysteminfo.desktop
|
||||
FILES assets/install/hyprsysteminfo.desktop
|
||||
DESTINATION "share/applications")
|
||||
|
||||
install(TARGETS hyprsysteminfo)
|
||||
install(TARGETS hyprsysteminfo)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue