diff --git a/build.ps1 b/build.ps1 index e346db1..66f68a4 100644 --- a/build.ps1 +++ b/build.ps1 @@ -28,7 +28,7 @@ $vulkanBasePath = "C:\VulkanSDK" $folders = Get-ChildItem -Path $vulkanBasePath -Directory # Sort the folders by version and select the latest one -$latestVulkanVersion = $folders | Sort-Object { [Version]$_ .Name } -Descending | Select-Object -First 1 +$latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } -Descending | Select-Object -First 1 # Store the latest version folder name and combine it with the base path to get the full path to Include $vulkanSDKPath = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $latestVulkanVersion.Name -ChildPath "Include")