Skip to content

Commit

Permalink
example changes to add libopenmpt as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vorlac committed Sep 17, 2023
1 parent 9ae3069 commit 962511b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ endif()

find_package(fmt CONFIG REQUIRED)
find_package(spdlog CONFIG REQUIRED)
find_package(libopenmpt CONFIG REQUIRED)

# =======================================================================
# Godot C++ bindings library setup/configuration
Expand Down Expand Up @@ -311,6 +312,7 @@ target_link_libraries(${gdextension_lib_name}
PRIVATE fmt::fmt
PRIVATE fmt::fmt-header-only
PRIVATE spdlog::spdlog_header_only
PRIVATE libopenmpt::libopenmpt
)

# =======================================================================
Expand Down
3 changes: 2 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"version": "0.0.1",
"dependencies": [
"fmt",
"spdlog"
"spdlog",
"libopenmpt"
]
}

0 comments on commit 962511b

Please sign in to comment.