Skip to content

Commit

Permalink
dependencies: fix installing discord_game_sdk on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Totto16 committed Oct 7, 2024
1 parent fa0410f commit 37a18fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions subprojects/packagefiles/discord_game_sdk/cpp/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ discord_lib_c = c.find_library(

if discord_lib_c.found()
lib_deps += discord_lib_c

if c.get_id() == 'msvc'

install_data(
meson.project_source_root() / lib_dir / lib_name,
install_dir: get_option('bindir'),
)
endif

else
lib_deps += c.find_library(
lib_name,
Expand Down

0 comments on commit 37a18fd

Please sign in to comment.