TsundereStation/dep/CMakeLists.txt
Clownacy 7bd9645251 Make OpenBIOS a built-in fallback.
Previously, the emulator would mysteriously fail if the user did not
know beforehand to provide a copy of the BIOS. This avoids that
problem, silently and automatically loading a built-in copy of
OpenBIOS, so that the emulator will always do what the user wants:
boot the game.

Closes #153. Requested in #158.
2026-03-28 10:43:30 +00:00

19 lines
664 B
CMake

add_subdirectory(glad)
add_subdirectory(stb)
add_subdirectory(libchdr EXCLUDE_FROM_ALL)
add_subdirectory(xxhash)
add_subdirectory(glslang)
add_subdirectory(vulkan-loader)
add_subdirectory(libretro-common)
add_subdirectory(openbios)
if(${CPU_ARCH} STREQUAL "aarch32" OR ${CPU_ARCH} STREQUAL "aarch64")
add_subdirectory(vixl)
endif()
# Configure libchdr to use libretro's file IO.
target_compile_definitions(chdr-static PUBLIC USE_LIBRETRO_VFS)
target_include_directories(chdr-static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/libretro-common/include")
# Make it easier to include miniz's header.
target_include_directories(miniz INTERFACE "libchdr/deps/miniz-3.1.1")