From 242c55c39e10f490777409521c2c78c9a860fcc0 Mon Sep 17 00:00:00 2001 From: hasufell Date: Sun, 30 Dec 2012 15:12:55 +0100 Subject: stay compatible with non-relative paths if the user specifies -DCMAKE_INSTALL_BINDIR=/usr/bin then the desktop file will be broken CMAKE_INSTALL_FULL_ fixes this --- hardinfo.desktop.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hardinfo.desktop.cmake') diff --git a/hardinfo.desktop.cmake b/hardinfo.desktop.cmake index bf73dd12..7d5a25f4 100644 --- a/hardinfo.desktop.cmake +++ b/hardinfo.desktop.cmake @@ -2,8 +2,8 @@ Name=System Profiler and Benchmark Name[pt_BR]=Informações e Testes do Sistema Name[es]=Informacion y Rendimiento del Sistema -Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/hardinfo -Icon=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@/hardinfo/pixmaps/logo.png +Exec=@CMAKE_INSTALL_FULL_BINDIR@/hardinfo +Icon=@CMAKE_INSTALL_FULL_DATAROOTDIR@/hardinfo/pixmaps/logo.png Terminal=false Type=Application StartupNotify=true -- cgit v1.2.3