for the desktop file I would suggest to change it to "wargus.desktop.in" with:
[Desktop Entry]
Name=Wargus - Warcraft II
Comment=Warcraft II data game set for the Stratagus engine
Exec=@DESKTOPBIN@/wargus
Icon=wargus
Terminal=false
Type=Application
Categories=Game;StrategyGame;
StartupNotify=false
for the desktop file I would suggest to change it to "wargus.desktop.in" with:
[Desktop Entry] N@/wargus Game;StrategyGa me;
Name=Wargus - Warcraft II
Comment=Warcraft II data game set for the Stratagus engine
Exec=@DESKTOPBI
Icon=wargus
Terminal=false
Type=Application
Categories=
StartupNotify=false
and in CMakeLists.txt:
# desktop file INSTALL_ PREFIX} /${BINDIR} ") SOURCE_ DIR}/wargus. desktop. in" BINARY_ DIR}/wargus. desktop"
if(NOT IS_ABSOLUTE "${BINDIR}")
set(DESKTOPBIN "${CMAKE_
else()
set(DESKTOPBIN "${BINDIR}")
endif()
configure_file (
"${PROJECT_
"${PROJECT_
)