From 7bb7d281d4a64ffcf8b2572bfe21d519746a3f4e Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Thu, 23 Jan 2025 23:55:53 +0000 Subject: [PATCH] Codechange: [CMake] Hide errors when breakpad is not found --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dc5db3156b..88fb80e4cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,7 +135,7 @@ endif() # Breakpad doesn't support emscripten. if(NOT EMSCRIPTEN) - find_package(unofficial-breakpad) + find_package(unofficial-breakpad NO_MODULE) endif() if(NOT OPTION_DEDICATED) @@ -317,7 +317,7 @@ if(NOT WIN32 AND NOT EMSCRIPTEN) endif() if(NOT EMSCRIPTEN) - link_package(unofficial-breakpad TARGET unofficial::breakpad::libbreakpad_client ENCOURAGED) + link_package(unofficial-breakpad TARGET unofficial::breakpad::libbreakpad_client) endif() if(NOT OPTION_DEDICATED)