1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 12:20:41 +00:00

openmw.cfg is now created with a configurable path (via cmake), the default is still "data"

This commit is contained in:
Jan Borsodi 2010-09-10 00:56:22 +02:00
parent ec8e92f7cd
commit 0f860e2fbd
2 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,10 @@ option(USE_AUDIERE "use Audiere for sound" OFF)
option(USE_FFMPEG "use ffmpeg for sound" OFF)
option(USE_MPG123 "use mpg123 + libsndfile for sound" ON)
# Location of morrowind data files
set(MORROWIND_DATA_FILES "data"
CACHE PATH "location of Morrowind data files")
# We probably support older versions than this.
cmake_minimum_required(VERSION 2.6)
@ -236,7 +240,7 @@ configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.linux
endif (WIN32)
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg
"${OpenMW_BINARY_DIR}/openmw.cfg" COPYONLY)
"${OpenMW_BINARY_DIR}/openmw.cfg")
if (APPLE)
set(APPLE_BUNDLE_RESOURCES

View File

@ -1,2 +1,2 @@
data=data
data=${MORROWIND_DATA_FILES}