share/hedgewars/Data/misc/CMakeLists.txt
author Worldblender
Fri, 28 Jul 2017 18:12:28 -0400
changeset 12447 7af69ebc0c9c
parent 10459 02e010b64a28
child 13307 6313386c851e
permissions -rw-r--r--
bug #238 install the .desktop file too


if(UNIX AND NOT APPLE)
    configure_file(hwengine.desktop.in hwengine.desktop)

    file(GLOB miscfiles *.xml *.desktop)

    install(FILES ${miscfiles} DESTINATION ${SHAREPATH}/Data/misc)
    install(FILES hedgewars.xpm DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
    install(FILES hedgewars.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
endif()