Make replays only downloadable when configured with tests (#9868)

This commit is contained in:
Michał Janiszewski authored and GitHub committed 2019-08-13 21:04:08 +02:00
1 parent 401ec9e19f
commit 209c6d0513
1 file changed
+3 -1
+3 -1
View File
@@ -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.")