share/hedgewars/Data/misc/CMakeLists.txt
author nemo
Mon, 01 Nov 2010 17:12:32 -0400
changeset 4083 830d1f4eb517
child 7811 49ab679cb384
permissions -rw-r--r--
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request. Still needs the addition of the frontend code to mkdir -p in .local, copy the files, call update-mime-info and such

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)