1
0
Fork 0

Codechange: [CMake] Hide errors when breakpad is not found

pull/13371/head
Charles Pigott 2025-01-23 23:55:53 +00:00
parent 184621e64a
commit 7bb7d281d4
1 changed files with 2 additions and 2 deletions

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)