mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
rename breakpad cmake option
This commit is contained in:
parent
0688a1f5e5
commit
2f97fc671d
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue