mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 18:25:16 +01:00
Make replays only downloadable when configured with tests (#9868)
This commit is contained in:
committed by
GitHub
parent
401ec9e19f
commit
209c6d0513
@@ -7,6 +7,7 @@ endif()
|
||||
project(openrct2 CXX)
|
||||
|
||||
include(cmake/platform.cmake)
|
||||
include(CMakeDependentOption)
|
||||
|
||||
if (NOT MSVC)
|
||||
include(FindPkgConfig)
|
||||
@@ -34,7 +35,8 @@ option(WITH_TESTS "Build tests")
|
||||
option(PORTABLE "Create a portable build (-rpath=$ORIGIN)" OFF)
|
||||
option(DOWNLOAD_TITLE_SEQUENCES "Download title sequences during installation." ON)
|
||||
option(DOWNLOAD_OBJECTS "Download objects during installation." ON)
|
||||
option(DOWNLOAD_REPLAYS "Download replays during installation." ON)
|
||||
CMAKE_DEPENDENT_OPTION(DOWNLOAD_REPLAYS "Download replays during installation." ON
|
||||
"WITH_TESTS" OFF)
|
||||
|
||||
# Options
|
||||
option(STATIC "Create a static build.")
|
||||
|
||||
Reference in New Issue
Block a user