mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
openmw.cfg is now created with a configurable path (via cmake), the default is still "data"
This commit is contained in:
parent
ec8e92f7cd
commit
0f860e2fbd
@ -5,6 +5,10 @@ option(USE_AUDIERE "use Audiere for sound" OFF)
|
|||||||
option(USE_FFMPEG "use ffmpeg for sound" OFF)
|
option(USE_FFMPEG "use ffmpeg for sound" OFF)
|
||||||
option(USE_MPG123 "use mpg123 + libsndfile for sound" ON)
|
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.
|
# We probably support older versions than this.
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
@ -236,7 +240,7 @@ configure_file(${OpenMW_SOURCE_DIR}/files/plugins.cfg.linux
|
|||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg
|
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg
|
||||||
"${OpenMW_BINARY_DIR}/openmw.cfg" COPYONLY)
|
"${OpenMW_BINARY_DIR}/openmw.cfg")
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(APPLE_BUNDLE_RESOURCES
|
set(APPLE_BUNDLE_RESOURCES
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
data=data
|
data=${MORROWIND_DATA_FILES}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user