19 lines
653 B
CMake
19 lines
653 B
CMake
--- pxr/pxrConfig.cmake.in.orig 2026-04-24 18:55:54 UTC
|
|
+++ pxr/pxrConfig.cmake.in
|
|
@@ -90,9 +90,14 @@ endif()
|
|
find_dependency(MaterialX)
|
|
endif()
|
|
|
|
+# See https://github.com/PixarAnimationStudios/OpenUSD/issues/3310
|
|
+if(@PXR_ENABLE_GL_SUPPORT@)
|
|
+ find_dependency(OpenGL)
|
|
+endif()
|
|
+
|
|
# Similar to MaterialX above, we are using Imath's cmake package config, so set
|
|
# the Imath_DIR accordingly to find the associated import targets which were
|
|
-# used for this USD build.
|
|
+# used for this USD build.
|
|
# Note that we only need to do this, when it is determined by Imath is being
|
|
# used instead of OpenExr (refer Packages.cmake)
|
|
if(@Imath_FOUND@)
|