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 15, 2023
1 parent 00954f1 commit f9f4c15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ endif()

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

0 comments on commit f9f4c15

Please sign in to comment.