diff options
author | hasufell <julian.ospald@googlemail.com> | 2012-12-30 15:12:55 +0100 |
---|---|---|
committer | hasufell <julian.ospald@googlemail.com> | 2012-12-30 15:12:55 +0100 |
commit | 242c55c39e10f490777409521c2c78c9a860fcc0 (patch) | |
tree | b928511b9dc7b6b7ceed8ff791b05c6e342c3ad9 /hardinfo.desktop.cmake | |
parent | b12aaba22683770db5f43e4167b113920a397034 (diff) |
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_<dir> fixes this
Diffstat (limited to 'hardinfo.desktop.cmake')
-rw-r--r-- | hardinfo.desktop.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
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 |