diff options
author | Willem Jan Palenstijn | 2017-10-28 23:47:05 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-10-29 00:05:51 +0200 |
commit | 4233156505a73a2990aa4245cf2a3b356c88dc17 (patch) | |
tree | 182cfc1a948c239955feaf49960586d96e71d056 /engines/testbed | |
parent | a416c989801cfc803f74dfb6f0e770bb6f4d87fc (diff) | |
download | scummvm-rg350-4233156505a73a2990aa4245cf2a3b356c88dc17.tar.gz scummvm-rg350-4233156505a73a2990aa4245cf2a3b356c88dc17.tar.bz2 scummvm-rg350-4233156505a73a2990aa4245cf2a3b356c88dc17.zip |
TESTBED: Only build cloud tests if libcurl is available too
This matches the module.mk checks for backends/cloud
Diffstat (limited to 'engines/testbed')
-rw-r--r-- | engines/testbed/module.mk | 2 | ||||
-rw-r--r-- | engines/testbed/testbed.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/testbed/module.mk b/engines/testbed/module.mk index be733a5b60..5838751439 100644 --- a/engines/testbed/module.mk +++ b/engines/testbed/module.mk @@ -15,9 +15,11 @@ MODULE_OBJS := \ testsuite.o ifdef USE_CLOUD +ifdef USE_LIBCURL MODULE_OBJS += \ cloud.o endif +endif ifdef USE_SDL_NET MODULE_OBJS += \ diff --git a/engines/testbed/testbed.cpp b/engines/testbed/testbed.cpp index 6e14fc0ec8..f071ab347a 100644 --- a/engines/testbed/testbed.cpp +++ b/engines/testbed/testbed.cpp @@ -140,7 +140,7 @@ TestbedEngine::TestbedEngine(OSystem *syst) // Midi ts = new MidiTestSuite(); _testsuiteList.push_back(ts); -#ifdef USE_CLOUD +#if defined(USE_CLOUD) && defined(USE_LIBCURL) // Cloud ts = new CloudTestSuite(); _testsuiteList.push_back(ts); |