Skip to content

Commit c267497

Browse files
committed
#4470 Adjustments and Mac build fixes
1 parent 8eb2429 commit c267497

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

indra/cmake/Copy3rdPartyLibs.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
include(CMakeCopyIfDifferent)
88
include(Linking)
9-
include(Discord)
9+
if (USE_DISCORD)
10+
include(Discord)
11+
endif ()
1012
include(OPENAL)
1113

1214
# When we copy our dependent libraries, we almost always want to copy them to

indra/cmake/Discord.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
include(Prebuilt)
22

3+
include_guard()
4+
35
add_library(ll::discord_sdk INTERFACE IMPORTED)
46
target_compile_definitions(ll::discord_sdk INTERFACE LL_DISCORD=1)
57

indra/newview/viewer_manifest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ def path_optional(src, dst):
10221022
self.path2basename(relpkgdir, libfile)
10231023

10241024
# Discord social SDK
1025-
if self.args['DISCORD'] == 'ON':
1025+
if self.args['discord'] == 'ON':
10261026
for libfile in (
10271027
"libdiscord_partner_sdk.dylib",
10281028
):

0 commit comments

Comments
 (0)