Skip to content

Commit cf0d37f

Browse files
committed
ci: install deps on windows
1 parent 1d585b6 commit cf0d37f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/build-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
submodules: 'recursive'
1919

2020
- name: Configure CMake
21-
run: cmake -G "Visual Studio 17 2022" -A x64 -B ${{github.workspace}}/build -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
21+
run: cmake -G "Visual Studio 17 2022" -A x64 -B ${{github.workspace}}/build -DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
2222

2323
- name: Build
2424
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ set(CMAKE_CXX_EXTENSIONS OFF)
99
SET(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
1010
SET(CMAKE_FIND_PACKAGE_SORT_DIRECTION DEC)
1111

12-
set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON)
13-
1412
project(shadertoy VERSION 0.1.1 HOMEPAGE_URL "https://github.com/dtcxzyw/shadertoy")
1513

1614
if(NOT CMAKE_BUILD_TYPE)

0 commit comments

Comments
 (0)