diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 11 |
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 | |||
| 15 | option(ENABLE_QT "Enable the Qt frontend" ON) | 15 | option(ENABLE_QT "Enable the Qt frontend" ON) |
| 16 | CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" ON "ENABLE_QT;MSVC" OFF) | 16 | CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" ON "ENABLE_QT;MSVC" OFF) |
| 17 | 17 | ||
| 18 | option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON) | ||
| 19 | |||
| 18 | option(YUZU_USE_BUNDLED_UNICORN "Build/Download bundled Unicorn" ON) | 20 | option(YUZU_USE_BUNDLED_UNICORN "Build/Download bundled Unicorn" ON) |
| 19 | 21 | ||
| 20 | option(ENABLE_CUBEB "Enables the cubeb audio backend" ON) | 22 | option(ENABLE_CUBEB "Enables the cubeb audio backend" ON) |
| 21 | 23 | ||
| 24 | option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF) | ||
| 25 | |||
| 22 | if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit) | 26 | if(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}) |
| 322 | endif() | 326 | endif() |
| 323 | 327 | ||
| 328 | if (ENABLE_WEB_SERVICE) | ||
| 329 | add_definitions(-DENABLE_WEB_SERVICE) | ||
| 330 | endif() | ||
| 331 | if (YUZU_ENABLE_COMPATIBILITY_REPORTING) | ||
| 332 | add_definitions(-DYUZU_ENABLE_COMPATIBILITY_REPORTING) | ||
| 333 | endif() | ||
| 334 | |||
| 324 | # Platform-specific library requirements | 335 | # Platform-specific library requirements |
| 325 | # ====================================== | 336 | # ====================================== |
| 326 | 337 | ||