Skip to content

Commit

Permalink
deps: build breakpad on current compatible systems only
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Dec 16, 2023
1 parent 00954f1 commit 2891917
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ if(NINTENDO_SWITCH)
endif()

if(NOT LIBRETRO)
if((WIN32 AND NOT MSVC) OR (UNIX AND NOT APPLE AND NOT CMAKE_SYSTEM_NAME MATCHES "(FreeBSD|OpenBSD|NetBSD)"))
find_program(SH_EXECUTABLE sh)
if((ANDROID AND NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows") OR (MINGW AND SH_EXECUTABLE) OR (CMAKE_SYSTEM_NAME STREQUAL "Linux"))
add_subdirectory(core/deps/breakpad)
if(WIN32)
target_link_options(${PROJECT_NAME} PRIVATE "-Wl,--build-id")
Expand Down

0 comments on commit 2891917

Please sign in to comment.