summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-28 23:18:27 +0100
committerLiam <byteslice@airmail.cc>2022-12-28 23:18:27 +0100
commit106cf27135d83fd529848b527009f4a0cfb25c4b (patch)
treeeb7a6d121172fda93001225a268d7eaf26e55725
parentMerge pull request #9490 from ameerj/texture-cache-prealloc (diff)
downloadyuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.tar
yuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.tar.gz
yuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.tar.bz2
yuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.tar.lz
yuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.tar.xz
yuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.tar.zst
yuzu-106cf27135d83fd529848b527009f4a0cfb25c4b.zip
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt5
2 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f71a8b3e3..a454baa74 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,8 @@ option(YUZU_TESTS "Compile tests" 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)
option(YUZU_USE_BUNDLED_VCPKG "Use vcpkg for yuzu dependencies" "${MSVC}")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 140415474..c7283e82c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -161,7 +161,10 @@ add_subdirectory(video_core)
add_subdirectory(network)
add_subdirectory(input_common)
add_subdirectory(shader_recompiler)
-add_subdirectory(dedicated_room)
+
+if (YUZU_ROOM)
+ add_subdirectory(dedicated_room)
+endif()
if (YUZU_TESTS)
add_subdirectory(tests)