Skip to content

Commit

Permalink
Improve code style [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Apr 2, 2024
1 parent 93ae22e commit 5059b93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 1k/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ else {

$Global:target_minsdk = $options.minsdk
if(!$Global:target_minsdk) {
$Global:target_minsdk = @{osx = '10.13'; winrt = '10.0.17763.0'}[$TARGET_OS]
$Global:target_minsdk = @{osx = '10.15'; winrt = '10.0.17763.0'}[$TARGET_OS]
}

# define some useful global vars
Expand Down
4 changes: 4 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ if($sdk) {
$forward_args['sdk'] = $sdk
}

if($target_os -eq 'osx') {
$forward_args['minsdk'] = '10.13'
}

. $build_script -p $target_os -a $target_cpu @forward_args -setupOnly -ndkOnly
setup_nasm

Expand Down

0 comments on commit 5059b93

Please sign in to comment.