From da59ce91c9ad0541b783ba21b77b5201e7864469 Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Wed, 10 Jan 2018 19:44:09 -0600 Subject: [PATCH] require web services --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a2be43b4..d77fdb8ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,10 @@ if (ENABLE_WEB_SERVICE AND NOT CITRA_USE_BUNDLED_CURL AND MINGW) message(AUTHOR_WARNING "Turning on CITRA_USE_BUNDLED_CURL. Override it only if you know what you are doing.") SET(CITRA_USE_BUNDLED_CURL ON CACHE BOOL "" FORCE) endif() +if (CITRA_ENABLE_COMPATIBILITY_REPORTING AND NOT ENABLE_WEB_SERVICE) + message("Compatibility reporting requires web services to be enabled") + SET(CITRA_ENABLE_COMPATIBILITY_REPORTING OFF CACHE BOOL "" FORCE) +endif() if(NOT EXISTS ${CMAKE_SOURCE_DIR}/.git/hooks/pre-commit) message(STATUS "Copying pre-commit hook")