Skip to content

Commit 5bbee82

Browse files
author
Rye
authored
Merge pull request #2806 from secondlife/rye/linuxbuild
Fix disabling bugsplat on linux build
2 parents c3590fd + d997bbd commit 5bbee82

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

indra/cmake/bugsplat.cmake

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ if (INSTALL_PROPRIETARY AND NOT LINUX)
55
else (BUGSPLAT_DB)
66
set(USE_BUGSPLAT OFF CACHE BOOL "Use the BugSplat crash reporting system")
77
endif (BUGSPLAT_DB)
8-
else (INSTALL_PROPRIETARY AND NOT LINUX)
8+
else ()
99
set(USE_BUGSPLAT OFF CACHE BOOL "Use the BugSplat crash reporting system")
10-
endif (INSTALL_PROPRIETARY AND NOT LINUX)
10+
set(BUGSPLAT_DB "" CACHE STRING "BugSplat crash database name")
11+
endif ()
1112

1213
include_guard()
1314
add_library( ll::bugsplat INTERFACE IMPORTED )
1415

15-
if (USE_BUGSPLAT)
16+
if (USE_BUGSPLAT AND NOT LINUX)
1617
include(Prebuilt)
1718
use_prebuilt_binary(bugsplat)
1819
if (WINDOWS)
@@ -36,6 +37,7 @@ if (USE_BUGSPLAT)
3637

3738
set_property( TARGET ll::bugsplat APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS LL_BUGSPLAT)
3839
else()
40+
set(USE_BUGSPLAT OFF CACHE BOOL "Use the BugSplat crash reporting system" FORCE)
3941
set(BUGSPLAT_DB "" CACHE STRING "BugSplat crash database name" FORCE)
40-
endif (USE_BUGSPLAT)
42+
endif ()
4143

0 commit comments

Comments
 (0)