share/hedgewars/Data/misc/CMakeLists.txt
author sheepluva
Sat, 27 Oct 2012 21:40:37 +0200
changeset 7844 e483d198e0f3
parent 7811 49ab679cb384
child 8316 89232b2fa1d6
permissions -rw-r--r--
german engine translation update

if(DEFINED DATA_INSTALL_DIR)
    set(HEDGEWARS_DATADIR ${DATA_INSTALL_DIR}
)
else()
    set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)
endif()  

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

file(GLOB miscfiles *.xml *.desktop)

install(FILES ${miscfiles} DESTINATION ${SHAREPATH}Data/misc)