Skip to content

Commit

Permalink
Try fixing missing dlls for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianBDev committed Sep 24, 2024
1 parent 65a3ae1 commit 4c4ff8a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ if(BUILD_TESTS)
list(APPEND VCPKG_MANIFEST_FEATURES "tests")
endif()

#
# Tell vcpkg to export dll to build folder (windows only)
#
if (WIN32)
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
endif()

project(Degate)

#
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ We use [vcpkg](https://vcpkg.io) to handle installation of those, please refer t

- CMake 3.12.0 or newer,

For Linux (please the Linux section below):
For Linux (please read the Linux section below):
- xcb-lib
- xrender-lib
- autoconf
Expand All @@ -143,6 +143,11 @@ For Linux (please the Linux section below):
- egl1-mesa-lib
- xrandr-lib

For MacOS (please read the MacOS section below):
- automake
- autoconf
- autoconf-archive

## Quick start

First, clone this repository (help [here](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)):
Expand Down Expand Up @@ -191,7 +196,7 @@ Binaries are in the 'build/out/bin' folder.
Prepare the install of dependencies:
```console
> ./vcpkg/bootstrap-vcpkg.sh -disableMetrics
> brew install autoconf autoconf-archive
> brew install autoconf autoconf-archive automake
```

Build (in the 'build' folder, for example):
Expand Down

0 comments on commit 4c4ff8a

Please sign in to comment.