Skip to content

Commit

Permalink
Fix steamshim
Browse files Browse the repository at this point in the history
  • Loading branch information
Speak2Erase committed Jun 5, 2024
1 parent 7ab5de1 commit cf21a0a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ if steamworks == true
endif

shim_args = [
'-DGAME_LAUNCH_NAME="' + exe_name + '"',
'-DGAME_LAUNCH_NAME="lib/' + exe_name + '"',
'-I' + steamworks_path + '/public'
]

Expand All @@ -179,13 +179,15 @@ if steamworks == true
shim_ws = 'windows'
endif

executable(meson.project_name(),
executable('steamshim',
sources: files('steamshim/steamshim_parent.cpp'),
dependencies: steamlib,
cpp_args: shim_args,
link_args: la.split(),
win_subsystem: shim_ws,
install: (host_system != 'windows'))
install: (host_system != 'windows'),
build_rpath: '$ORIGIN'
)
endif

executable(exe_name,
Expand Down

0 comments on commit cf21a0a

Please sign in to comment.