Skip to content

Commit

Permalink
Codechange: [CMake] Hide errors when breakpad is not found (#13371)
Browse files Browse the repository at this point in the history
  • Loading branch information
LordAro authored Jan 24, 2025
1 parent 184621e commit 3978424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3978424

Please sign in to comment.