Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unsafe check of the compiler in the CMakeToolchain generator (#9801)
The compiler variable here must not be a NoneType object to use `in`. This will result in an error when attempting to package a header-only library. This commit fixes this check. It first verifies the compiler is not None before checking it.
- Loading branch information