rename breakpad cmake option

This commit is contained in:
qimiko 2024-02-03 04:40:44 -07:00
parent 0688a1f5e5
commit 2f97fc671d
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ if (GEODE_BUILDING_DOCS)
set(GEODE_DONT_BUILD_TEST_MODS On)
endif()
option(GEODE_ANDROID_USE_BREAKPAD "Enables the use of the Breakpad library for crash dumps." ON)
option(GEODE_USE_BREAKPAD "Enables the use of the Breakpad library for crash dumps." ON)
# Read version
file(READ VERSION GEODE_VERSION)

View file

@ -126,7 +126,7 @@ if (WIN32)
endif()
if (ANDROID AND GEODE_ANDROID_USE_BREAKPAD)
if (ANDROID AND GEODE_USE_BREAKPAD)
CPMAddPackage(
NAME "Breakpad"
VERSION "2023.06.01"
@ -227,7 +227,7 @@ if (ANDROID)
# needed to define some opengl functions
target_link_libraries(${PROJECT_NAME} EGL)
if (GEODE_ANDROID_USE_BREAKPAD)
if (GEODE_USE_BREAKPAD)
target_compile_definitions(${PROJECT_NAME} PRIVATE -DGEODE_USE_BREAKPAD)
enable_language(ASM)
target_link_libraries(${PROJECT_NAME} Breakpad)