Skip to content

Commit

Permalink
chore: Fetch sol2 from vcpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirius902 committed Jan 17, 2025
1 parent ade49d3 commit 6eabeae
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 27,558 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: pkgconf fmt ztd-text wil tomlplusplus lua rapidjson
pkgs: pkgconf fmt ztd-text wil tomlplusplus sol2 lua rapidjson
triplet: x64-windows-static
token: ${{ github.token }}
github-binarycache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: johnwason/vcpkg-action@v6
id: vcpkg
with:
pkgs: pkgconf fmt ztd-text wil tomlplusplus lua rapidjson
pkgs: pkgconf fmt ztd-text wil tomlplusplus sol2 lua rapidjson
triplet: x64-windows-static
token: ${{ github.token }}
github-binarycache: true
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ find_package(wil CONFIG REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(tomlplusplus REQUIRED IMPORTED_TARGET tomlplusplus)

find_package(sol2 CONFIG REQUIRED)
find_package(Lua REQUIRED)

include(FetchContent)
Expand Down Expand Up @@ -96,6 +97,7 @@ target_link_libraries(DBGHELP PRIVATE
fmt::fmt
ztd.text
WIL::WIL
sol2
${LUA_LIBRARIES}
discord-rpc
)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ hooking as DINPUT8 is also supported. To hook as DINPUT8, rename the `DBGHELP.dl

```powershell
$env:VCPKG_DEFAULT_TRIPLET="x64-windows-static"
vcpkg install pkgconf fmt ztd-text wil tomlplusplus lua rapidjson
vcpkg install pkgconf fmt ztd-text wil tomlplusplus sol2 lua rapidjson
```

- Inside the repository run `cmake --preset=default` to configure the project.
Expand Down
53 changes: 0 additions & 53 deletions external/include/sol/config.hpp

This file was deleted.

Loading

0 comments on commit 6eabeae

Please sign in to comment.