File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 46
46
.\vcpkg\bootstrap-vcpkg.bat
47
47
shell : cmd
48
48
49
+ - name : setup vcpkg
50
+ run : |
51
+ .\vcpkg\vcpkg install --triplet ${{ matrix.vcpkg_triplet }}
52
+ shell : cmd
53
+
49
54
- name : Install npm dependencies
50
55
run : |
51
56
npm install --ignore-scripts
54
59
run : |
55
60
node_modules/.bin/prebuild -r napi --upload -u ${{ secrets.GITHUB_TOKEN }} --backend cmake-js
56
61
env :
57
- CMAKE_TOOLCHAIN_FILE : ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
58
- VCPKG_TARGET_TRIPLET : arm64-windows-static
62
+ OPENSSL_ROOT_DIR : ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkg_triplet }}
63
+ OPENSSL_LIBRARIES : ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkg_triplet }}/lib
64
+ OPENSSL_INCLUDE_DIR : ${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkg_triplet }}/include
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ include_directories(${CMAKE_JS_INC})
11
11
12
12
set (CMAKE_BUILD_TYPE Release)
13
13
14
- set (VCPKG_TARGET_TRIPLET "arm64-windows-static" CACHE STRING "VCPKG target triplet" )
15
-
16
14
if (WIN32 )
17
15
set (OPENSSL_MSVC_STATIC_RT TRUE )
18
16
set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
You can’t perform that action at this time.
0 commit comments