mirror of https://github.com/OpenTTD/OpenTTD
Codechange: [CMake] Hide errors when breakpad is not found (#13371)
parent
184621e64a
commit
39784240e9
|
@ -135,7 +135,7 @@ endif()
|
||||||
|
|
||||||
# Breakpad doesn't support emscripten.
|
# Breakpad doesn't support emscripten.
|
||||||
if(NOT EMSCRIPTEN)
|
if(NOT EMSCRIPTEN)
|
||||||
find_package(unofficial-breakpad)
|
find_package(unofficial-breakpad NO_MODULE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT OPTION_DEDICATED)
|
if(NOT OPTION_DEDICATED)
|
||||||
|
@ -317,7 +317,7 @@ if(NOT WIN32 AND NOT EMSCRIPTEN)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT EMSCRIPTEN)
|
if(NOT EMSCRIPTEN)
|
||||||
link_package(unofficial-breakpad TARGET unofficial::breakpad::libbreakpad_client ENCOURAGED)
|
link_package(unofficial-breakpad TARGET unofficial::breakpad::libbreakpad_client)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT OPTION_DEDICATED)
|
if(NOT OPTION_DEDICATED)
|
||||||
|
|
Loading…
Reference in New Issue