mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-15 19:59:53 +00: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:
parent
887c68eed4
commit
deeb6f160c
@ -1,6 +1,8 @@
|
||||
// Copyright 2024 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#ifdef USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
#include <array>
|
||||
#include <map>
|
||||
#include <string>
|
||||
@ -191,3 +193,5 @@ void ReadVerified(const Common::IniFile& ini, const std::string& filename,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif // USE_RETRO_ACHIEVEMENTS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user