share/hedgewars/Data/misc/CMakeLists.txt
author sheepluva
Mon, 31 Oct 2011 20:51:00 +0100
changeset 6257 e6690d3a8a44
parent 4083 830d1f4eb517
child 7811 49ab679cb384
permissions -rw-r--r--
mission locale -> UTF-8

if(DEFINED DATA_INSTALL_DIR)                                                                                                            
    set(HEDGEWARS_DATADIR ${DATA_INSTALL_DIR})                                                                                          
else()                                                                                                                                  
    set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/)                                                                               
endif()  
configure_file(hwengine.desktop.in hwengine.desktop)

file(GLOB miscfiles *.xml *.desktop)

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