share/hedgewars/Data/misc/CMakeLists.txt
author nikin
Sun, 20 Mar 2011 15:07:45 -0400
changeset 5034 a30772158f50
parent 4083 830d1f4eb517
child 7811 49ab679cb384
permissions -rw-r--r--
Remove floating point to avoid desync

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)