Files
ARMSX2/cmake
Brian DegenhardtandClaude Opus 4.8 59f0414616 CMake: don't add the libretro subdir unless ENABLE_LIBRETRO=ON
Adding pcsx2-libretro EXCLUDE_FROM_ALL when the core is disabled kept it
out of the default `all`, but the subdirectory still emitted an
unconditional install(TARGETS pcsx2-libretro) rule. That put yaps2_libretro.so
into the `install` target and left the target buildable, so install-driven
builds (ninja/make install, packaging) and "build all targets" flows (IDEs)
compiled the libretro core even when someone only wanted yaps2-sdl.

Gate the add_subdirectory on ENABLE_LIBRETRO so that when it's off (the
default) neither the target nor its install rule exists. Build the core
with -DENABLE_LIBRETRO=ON (as the nightly's libretro job already does).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 20:08:35 -07:00
..
2021-07-17 21:08:30 -05:00
2024-05-21 18:34:01 +10:00