Merge pull request #5032 from dhiltgen/actually_skip

Actually skip PhysX on windows
This commit is contained in:
Daniel Hiltgen 2024-06-13 13:26:09 -07:00 committed by GitHub
commit c39761c552
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -296,6 +296,7 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
// Nvidia PhysX known to return bogus results
if strings.Contains(pattern, "PhysX") {
slog.Debug("skipping PhysX cuda library path", "path", pattern)
continue
}
// Ignore glob discovery errors
matches, _ := filepath.Glob(pattern)