summaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
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 )
###############################################################################