Skip to content

Commit

Permalink
Merge pull request #1 from OPENSPHERE-Inc/vc2022
Browse files Browse the repository at this point in the history
- Chagne windows build system to Visual Studio 17 2022
  • Loading branch information
hanatyan128 authored Nov 21, 2024
2 parents fe1d9f9 + 367ebd6 commit 90de338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-srt-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function buildWin32() {
}

console.log("Running cmake generator");
const generator = spawnSync('cmake', [ '"'+srtSourcePath+'"', '-DCMAKE_BUILD_TYPE=Release', '-G"Visual Studio 16 2019"', '-A', process.arch, '-DCMAKE_TOOLCHAIN_FILE="%VCPKG_ROOT%\\scripts\\buildsystems\\vcpkg.cmake' ], { cwd: buildDir, shell: true } );
const generator = spawnSync('cmake', [ '"'+srtSourcePath+'"', '-DCMAKE_BUILD_TYPE=Release', '-G"Visual Studio 17 2022"', '-A', process.arch, '-DCMAKE_TOOLCHAIN_FILE="%VCPKG_ROOT%\\scripts\\buildsystems\\vcpkg.cmake' ], { cwd: buildDir, shell: true } );
if (generator.stdout)
console.log(generator.stdout.toString());
if (generator.status) {
Expand Down

0 comments on commit 90de338

Please sign in to comment.