Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.485 kb
cmake_minimum_required(VERSION 2.8)
# Install data files
foreach(datadir cars compositor editor fonts gui hud loading materials objects particles RTShaderLib skies sounds terrain terrain2 trees)
install(DIRECTORY ${datadir} DESTINATION ${SHARE_INSTALL})
endforeach()
# Issue warning for missing tracks
if (EXISTS "${CMAKE_SOURCE_DIR}/data/tracks")
add_subdirectory("${CMAKE_SOURCE_DIR}/data/tracks")
else()
message("WARNING: No tracks could be found for installation.")
endif()
Jump to Line
Something went wrong with that request. Please try again.