Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid unecessary call to package manager (#25399)
When building for an OS different from Linux, FreeBSD or SunOS, don't try to call a sytem package manager. It may actually install a useless OpenGL system library (ie unrelated to host OS) when build machine is Linux, FreeBSD or SunOS. Also support SunOS by trying PkgUtil system package manager.
- Loading branch information