mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
Install OpenMusic by default in Linux (#19247)
* Add OpenMusic and OpenSoundEffects install options to CMakeLists * Fix #19160: Import OpenMusic by default on Linux Required to open park files using music found in OpenMusic repository
This commit is contained in:
parent
618c5bd4a7
commit
980555bc89
1 changed files with 7 additions and 0 deletions
|
@ -86,6 +86,8 @@ option(PORTABLE "Create a portable build (-rpath=$ORIGIN)" OFF)
|
||||||
option(APPIMAGE "Create an appimage build (-rpath=$ORIGIN/../lib)" OFF)
|
option(APPIMAGE "Create an appimage build (-rpath=$ORIGIN/../lib)" OFF)
|
||||||
option(DOWNLOAD_TITLE_SEQUENCES "Download title sequences during installation." ON)
|
option(DOWNLOAD_TITLE_SEQUENCES "Download title sequences during installation." ON)
|
||||||
option(DOWNLOAD_OBJECTS "Download objects during installation." ON)
|
option(DOWNLOAD_OBJECTS "Download objects during installation." ON)
|
||||||
|
option(DOWNLOAD_OPENSFX "Download OpenSoundEffects during installation." OFF)
|
||||||
|
option(DOWNLOAD_OPENMSX "Download OpenMusic during installation." OFF)
|
||||||
CMAKE_DEPENDENT_OPTION(DOWNLOAD_REPLAYS "Download replays during installation." ON
|
CMAKE_DEPENDENT_OPTION(DOWNLOAD_REPLAYS "Download replays during installation." ON
|
||||||
"WITH_TESTS" OFF)
|
"WITH_TESTS" OFF)
|
||||||
CMAKE_DEPENDENT_OPTION(MACOS_USE_DEPENDENCIES "Use OpenRCT2 dependencies instead of system libraries" ON
|
CMAKE_DEPENDENT_OPTION(MACOS_USE_DEPENDENCIES "Use OpenRCT2 dependencies instead of system libraries" ON
|
||||||
|
@ -158,6 +160,11 @@ if (MACOS_USE_DEPENDENCIES)
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
# If OS is Linux, import OpenSoundEffects and OpenMusic
|
||||||
|
if(UNIX AND NOT APPLE)
|
||||||
|
set(DOWNLOAD_OPENMSX ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
# LIST of supported flags, use SET_CHECK_CXX_FLAGS() to apply to target.
|
# LIST of supported flags, use SET_CHECK_CXX_FLAGS() to apply to target.
|
||||||
# Use ADD_CHECK_CXX_COMPILER_FLAG() to add to list.
|
# Use ADD_CHECK_CXX_COMPILER_FLAG() to add to list.
|
||||||
set(SUPPORTED_CHECK_CXX_COMPILER_FLAGS "")
|
set(SUPPORTED_CHECK_CXX_COMPILER_FLAGS "")
|
||||||
|
|
Loading…
Reference in a new issue