1
0
Fork 0
forked from suyu/suyu

cmake: make room server optional

This commit is contained in:
Liam 2022-12-28 17:18:27 -05:00
parent c5de54d509
commit 106cf27135
2 changed files with 6 additions and 1 deletions

View file

@ -47,6 +47,8 @@ option(YUZU_TESTS "Compile tests" ON)
option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON) option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
option(YUZU_ROOM "Compile LDN room server" ON)
CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF) CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF)
option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}") option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}")

View file

@ -161,7 +161,10 @@ add_subdirectory(video_core)
add_subdirectory(network) add_subdirectory(network)
add_subdirectory(input_common) add_subdirectory(input_common)
add_subdirectory(shader_recompiler) add_subdirectory(shader_recompiler)
if (YUZU_ROOM)
add_subdirectory(dedicated_room) add_subdirectory(dedicated_room)
endif()
if (YUZU_TESTS) if (YUZU_TESTS)
add_subdirectory(tests) add_subdirectory(tests)