mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Automatically download OpenSFX for Linux builds
Allow skipping of download if prepopulated
This commit is contained in:
parent
b8966a83e3
commit
855659adc1
1 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,7 @@ endif ()
|
|||
# If OS is Linux, import OpenSoundEffects and OpenMusic
|
||||
if(UNIX AND NOT APPLE)
|
||||
set(DOWNLOAD_OPENMSX ON)
|
||||
set(DOWNLOAD_OPENSFX ON)
|
||||
endif()
|
||||
|
||||
# LIST of supported flags, use SET_CHECK_CXX_FLAGS() to apply to target.
|
||||
|
@ -456,6 +457,7 @@ if (NOT MACOS_BUNDLE OR (MACOS_BUNDLE AND WITH_TESTS))
|
|||
include(${ROOT_DIR}/cmake/download.cmake)
|
||||
download_openrct2_zip(
|
||||
ZIP_VERSION ${OPENSFX_VERSION}
|
||||
SKIP_IF_EXISTS ${CMAKE_SOURCE_DIR}/data/assetpack/openrct2.sound.parkap
|
||||
DOWNLOAD_DIR \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/
|
||||
ZIP_URL ${OPENSFX_URL}
|
||||
SHA1 ${OPENSFX_SHA1}
|
||||
|
|
Loading…
Reference in a new issue