Skip to content

Commit

Permalink
changing setting the XDR_ROOT environment variable for windows build …
Browse files Browse the repository at this point in the history
…in build_wheels.yml
  • Loading branch information
stephen-dixon committed May 8, 2024
1 parent 8b88891 commit ab1feaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:

- name: build uda on windows
if: runner.os == 'Windows'
env:
XDR_ROOT: extlib/install
run: >
vcpkg install --triplet x64-mingw-static+VCPKG_RELEASE_ONLY --binarysource="clear;x-gha,readwrite"
libxml2
Expand All @@ -62,8 +64,7 @@ jobs:
&& cmake -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -B extlib/build -G "MinGW Makefiles" ./extlib
&& cmake --build extlib/build
&& cmake --install extlib/build --prefix extlib/install
&& $Env:XDR_ROOT="$PWD/extlib/install"
&& cmake -G "MinGW Makefiles" -B build
&& cmake -G "MinGW Makefiles" -B build .
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
-DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
Expand Down

0 comments on commit ab1feaf

Please sign in to comment.