share/hedgewars/Data/misc/CMakeLists.txt
changeset 4083 830d1f4eb517
child 7811 49ab679cb384
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/misc/CMakeLists.txt	Mon Nov 01 17:12:32 2010 -0400
@@ -0,0 +1,10 @@
+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)