mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-19 17:57:49 -05:00
Disable PatchAllowlistTest if USE_RETRO_ACHIEVEMENTS is OFF
This fixes a build error when `-DENABLE_TESTS=ON` and `-DUSE_RETRO_ACHIEVEMENTS=OFF` are both set together, since AchievementManager is also behind an ifdef.
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
// Copyright 2024 Dolphin Emulator Project
|
// Copyright 2024 Dolphin Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
@@ -191,3 +193,5 @@ void ReadVerified(const Common::IniFile& ini, const std::string& filename,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // USE_RETRO_ACHIEVEMENTS
|
||||||
|
|||||||
Reference in New Issue
Block a user