diff --git a/Sources/PixarUSD/Imaging/HgiGL/HgiGL.swift b/Sources/PixarUSD/Imaging/HgiGL/HgiGL.swift index 027c040ed..d8b3f0bc7 100644 --- a/Sources/PixarUSD/Imaging/HgiGL/HgiGL.swift +++ b/Sources/PixarUSD/Imaging/HgiGL/HgiGL.swift @@ -10,7 +10,9 @@ * . x x x . o o o . x x x . : : : . o x o . : : : . * ---------------------------------------------------------------- */ +#if canImport(HgiGL) import HgiGL public enum HgiGL {} +#endif // canImport(HgiGL)