summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd990188e..047443704 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,10 +15,14 @@ CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" ON
15option(ENABLE_QT "Enable the Qt frontend" ON) 15option(ENABLE_QT "Enable the Qt frontend" ON)
16CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" ON "ENABLE_QT;MSVC" OFF) 16CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" ON "ENABLE_QT;MSVC" OFF)
17 17
18option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON)
19
18option(YUZU_USE_BUNDLED_UNICORN "Build/Download bundled Unicorn" ON) 20option(YUZU_USE_BUNDLED_UNICORN "Build/Download bundled Unicorn" ON)
19 21
20option(ENABLE_CUBEB "Enables the cubeb audio backend" ON) 22option(ENABLE_CUBEB "Enables the cubeb audio backend" ON)
21 23
24option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF)
25
22if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit) 26if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit)
23 message(STATUS "Copying pre-commit hook") 27 message(STATUS "Copying pre-commit hook")
24 file(COPY hooks/pre-commit 28 file(COPY hooks/pre-commit
@@ -321,6 +325,13 @@ if (ENABLE_QT)
321 find_package(Qt5 REQUIRED COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT}) 325 find_package(Qt5 REQUIRED COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT})
322endif() 326endif()
323 327
328if (ENABLE_WEB_SERVICE)
329 add_definitions(-DENABLE_WEB_SERVICE)
330endif()
331if (YUZU_ENABLE_COMPATIBILITY_REPORTING)
332 add_definitions(-DYUZU_ENABLE_COMPATIBILITY_REPORTING)
333endif()
334
324# Platform-specific library requirements 335# Platform-specific library requirements
325# ====================================== 336# ======================================
326 337