Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Jan 4, 2025
1 parent afa8242 commit 20f0b16
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 1k/1kiss.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2040,8 +2040,12 @@ if (!$setupOnly) {
} else {
$cm_targets = @()
}
if($cmake_target -and !$cm_targets.Contains($cmake_target)) {
$cm_targets += $cmake_target
if($cmake_target) {
if ($cm_targets.Contains($cmake_target)) {
$cm_targets += $cmake_target
}
} else {
$cmake_target = $cm_targets[-1]
}

if ($cm_targets) {
Expand Down

0 comments on commit 20f0b16

Please sign in to comment.