summaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2009-09-03 17:30:33 +0200
committerTomáš Chvátal <scarabeus@gentoo.org>2009-09-03 17:30:33 +0200
commitb594c77801d7b6c1a7033d3fa5c720726d3743bd (patch)
tree29e537dc6cbaaa3a6f4ddc9c65169a66f76fc469 /data/CMakeLists.txt
parenta6a0479524b811f433051bc6c896414acd8e399d (diff)
Adjust data installation for server. Drop unused lang folder
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index a46c40b..9e60c89 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -5,18 +5,20 @@
###############################################################################
ADD_SUBDIRECTORY ( arena )
ADD_SUBDIRECTORY ( conf )
-ADD_SUBDIRECTORY ( images )
-ADD_SUBDIRECTORY ( music )
-ADD_SUBDIRECTORY ( sound )
+IF ( NOT BUILD_SERVER )
+ ADD_SUBDIRECTORY ( images )
+ ADD_SUBDIRECTORY ( music )
+ ADD_SUBDIRECTORY ( sound )
+ENDIF ( NOT BUILD_SERVER )
###############################################################################
# CURRENT DIRECTORY FILES
###############################################################################
-IF ( NOT Server )
+IF ( NOT BUILD_SERVER )
INSTALL ( FILES tuxanci.svg
DESTINATION ${CMAKE_INSTALL_DOCDIR}/ )
INSTALL ( FILES tuxanci.svg
DESTINATION ${CMAKE_INSTALL_ICONDIR}/ )
INSTALL ( FILES tuxanci.desktop
DESTINATION ${CMAKE_INSTALL_DESKTOPDIR}/ )
-ENDIF ( NOT Server )
+ENDIF ( NOT BUILD_SERVER )
###############################################################################