Merge branch 'only-local-openmw.cfg-on-windows' into 'master'

Install the local openmw.cfg template on Windows

See merge request OpenMW/openmw!4404
pull/3236/head
psi29a 2 months ago
commit d3b509d70f

@ -542,14 +542,19 @@ pack_resource_file(${OpenMW_SOURCE_DIR}/files/settings-default.cfg
configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.appdata.xml configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.appdata.xml
"${OpenMW_BINARY_DIR}" "openmw.appdata.xml") "${OpenMW_BINARY_DIR}" "openmw.appdata.xml")
if (NOT APPLE) if (APPLE)
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg
"${OpenMW_BINARY_DIR}/openmw.cfg")
elseif (WIN32)
configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg.local configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg.local
"${OpenMW_BINARY_DIR}" "openmw.cfg") "${OpenMW_BINARY_DIR}" "openmw.cfg")
configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg.local
"${OpenMW_BINARY_DIR}" "openmw.cfg.install") "${OpenMW_BINARY_DIR}" "openmw.cfg.install")
else () else ()
configure_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg.local
"${OpenMW_BINARY_DIR}/openmw.cfg") "${OpenMW_BINARY_DIR}" "openmw.cfg")
configure_resource_file(${OpenMW_SOURCE_DIR}/files/openmw.cfg
"${OpenMW_BINARY_DIR}" "openmw.cfg.install")
endif () endif ()
pack_resource_file(${OpenMW_SOURCE_DIR}/files/openmw-cs.cfg pack_resource_file(${OpenMW_SOURCE_DIR}/files/openmw-cs.cfg

Loading…
Cancel
Save