diff options
author | fearlessTobi <thm.frey@gmail.com> | 2018-09-16 20:05:51 +0200 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2018-10-02 15:30:48 +0200 |
commit | 4d139943f2407144d5f8e3dc5a673f24850d43d0 (patch) | |
tree | be24285a32c2b72b9756b69fd614f3d45c70ff41 /CMakeLists.txt | |
parent | Add submodules (diff) | |
download | yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.gz yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.bz2 yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.lz yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.xz yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.zst yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.zip |
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 option(ENABLE_QT "Enable the Qt frontend" ON) CMAKE_DEPENDENT_OPTION(YUZU_USE_BUNDLED_QT "Download bundled Qt binaries" ON "ENABLE_QT;MSVC" OFF) +option(ENABLE_WEB_SERVICE "Enable web services (telemetry, etc.)" ON) + option(YUZU_USE_BUNDLED_UNICORN "Build/Download bundled Unicorn" ON) option(ENABLE_CUBEB "Enables the cubeb audio backend" ON) +option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence" OFF) + if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit) message(STATUS "Copying pre-commit hook") file(COPY hooks/pre-commit @@ -321,6 +325,13 @@ if (ENABLE_QT) find_package(Qt5 REQUIRED COMPONENTS Widgets OpenGL ${QT_PREFIX_HINT}) endif() +if (ENABLE_WEB_SERVICE) + add_definitions(-DENABLE_WEB_SERVICE) +endif() +if (YUZU_ENABLE_COMPATIBILITY_REPORTING) + add_definitions(-DYUZU_ENABLE_COMPATIBILITY_REPORTING) +endif() + # Platform-specific library requirements # ====================================== |