Skip to content

Commit

Permalink
Update cmake-directxtex.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JunaMeinhold authored Jul 25, 2024
1 parent 5d3e162 commit 2db648e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake-directxtex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ jobs:
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
- name: Install OpenMP and DirectX 12 headers
- name: Install DirectX 12 headers and DirectXMath
run: |
./vcpkg/vcpkg install directx-headers
./vcpkg/vcpkg install directxmath
./vcpkg/vcpkg install directx-headers --allow-unsupported
./vcpkg/vcpkg install directxmath --allow-unsupported
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg

- name: Configure DirectXTex with CMake for macOS ARM64
if: matrix.arch == 'arm64' && matrix.os == 'macos-latest'
run: cmake -S DirectXTex/DirectXTex -B DirectXTex/DirectXTex/build -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
run: cmake -S DirectXTex/DirectXTex -B DirectXTex/DirectXTex/build -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_DX12=OFF -DENABLE_DX11=OFF

- name: Configure DirectXTex with CMake
if: matrix.arch != 'arm64' || matrix.os != 'macos-latest'
Expand Down

0 comments on commit 2db648e

Please sign in to comment.