Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 4d0078f

Browse files
committed
formatting
1 parent 7f660fd commit 4d0078f

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

meson.build

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ if compiler.get_argument_syntax()== 'gcc' # used for gcc compatible compilers
3333
# Build against system libraries on linux
3434
message('gcc detected')
3535

36-
build_rpath = '$ORIGIN:$ORIGIN/../external/lib/linux/x86_64' # Set RUNPATH so that CCCP can find libfmod.so without needing to set LD_LIBRARY_PATH
37-
38-
if host_machine.system()=='darwin'
39-
build_rpath = '@executable_path/../external/lib/macos' # Add a new R_PATH CCCP can find libfmod.dylib on Darwin TODO: Confirm and validate this.
40-
endif
36+
if host_machine.system() == 'linux'
37+
build_rpath = '$ORIGIN:$ORIGIN/../external/lib/linux/x86_64' # Set RUNPATH so that CCCP can find libfmod.so without needing to set LD_LIBRARY_PATH
38+
elif host_machine.system()=='darwin'
39+
build_rpath = '@executable_path/../external/lib/macos' # Add a new R_PATH CCCP can find libfmod.dylib on Darwin TODO: Confirm and validate this.
40+
endif
4141

4242
#suffix = 'x86_64'
43-
if host_machine.system()=='linux'
44-
link_args += ['-Wl,--enable-new-dtags'] # Set RUNPATH instead of RPATH
45-
endif
43+
if host_machine.system()=='linux'
44+
link_args += ['-Wl,--enable-new-dtags'] # Set RUNPATH instead of RPATH
45+
endif
4646

4747
# Set preprocessor flags and cpp arguments according to build options
4848
buildtype_debug = get_option('debug')
@@ -180,16 +180,16 @@ endif
180180

181181
#### Installing #####
182182
base_exclude_files = [
183-
'Base.rte/Settings.ini',
184-
'Launch Actor Editor.bat',
185-
'Launch Area Editor.bat',
186-
'Launch Assembly Editor.bat',
187-
'Launch Gib Editor.bat',
188-
'Launch Scene Editor.bat',
189-
'LogConsole.txt',
190-
'LogLoading.txt',
191-
'LogLoadingWarning.txt',
192-
'Start Dedicated Server.bat'
183+
'Base.rte/Settings.ini',
184+
'Launch Actor Editor.bat',
185+
'Launch Area Editor.bat',
186+
'Launch Assembly Editor.bat',
187+
'Launch Gib Editor.bat',
188+
'Launch Scene Editor.bat',
189+
'LogConsole.txt',
190+
'LogLoading.txt',
191+
'LogLoadingWarning.txt',
192+
'Start Dedicated Server.bat'
193193
]
194194

195195
if get_option('install_data')

0 commit comments

Comments
 (0)