Codechange: [CMake] Hide errors when breakpad is not found (#13371)

This commit is contained in:
Charles Pigott
2025-01-24 13:12:38 +00:00
committed by GitHub
parent 184621e64a
commit 39784240e9

View File

@@ -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)