author | sheepluva |
Sat, 27 Oct 2012 21:40:37 +0200 | |
changeset 7844 | e483d198e0f3 |
parent 7811 | 49ab679cb384 |
child 8316 | 89232b2fa1d6 |
permissions | -rw-r--r-- |
7811 | 1 |
if(DEFINED DATA_INSTALL_DIR) |
2 |
set(HEDGEWARS_DATADIR ${DATA_INSTALL_DIR} |
|
3 |
) |
|
4 |
else() |
|
5 |
set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/share/) |
|
4083
830d1f4eb517
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff
changeset
|
6 |
endif() |
7811 | 7 |
|
8 |
if(UNIX AND NOT APPLE) |
|
4083
830d1f4eb517
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff
changeset
|
9 |
configure_file(hwengine.desktop.in hwengine.desktop) |
7811 | 10 |
endif() |
4083
830d1f4eb517
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff
changeset
|
11 |
|
830d1f4eb517
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff
changeset
|
12 |
file(GLOB miscfiles *.xml *.desktop) |
830d1f4eb517
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff
changeset
|
13 |
|
830d1f4eb517
Add a misc folder to contain some files for attempting a local registration of hwengine against hedgewars demo and save files on request.
nemo
parents:
diff
changeset
|
14 |
install(FILES ${miscfiles} DESTINATION ${SHAREPATH}Data/misc) |