#-------------------------------------------------------------------
# This file is part of the CMake build system for SkyX
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

###############################################################
# Install media
###############################################################
# Set media target directory
if (WIN32 OR APPLE)
  set(SKYX_MEDIA_PATH "media")
elseif (UNIX)
  set(SKYX_MEDIA_PATH "share/SKYX/media")
endif ()

install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
  DESTINATION ${SKYX_MEDIA_PATH}
  PATTERN ".svn" EXCLUDE
  PATTERN "CMakeLists.txt" EXCLUDE
)