File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11set (PXR_PREFIX pxr/imaging)
22set (PXR_PACKAGE glf)
33
4-
54if (NOT ${PXR_ENABLE_GL_SUPPORT} )
65 message (STATUS
7- "Building minimal ${PXR_PACKAGE} because PXR_ENABLE_GL_SUPPORT is OFF" )
8- if (NOT PXR_APPLE_EMBEDDED)
9- list (APPEND optionalLibs ${OPENGL_gl_LIBRARY} )
10- endif ()
11- else ()
12- list (APPEND optionalLibs ${Boost_PYTHON_LIBRARY} )
13- list (APPEND optionalLibs ${X11_LIBRARIES} )
14- if (TARGET OpenGL::GL)
15- list (APPEND optionalLibs OpenGL::GL)
16- endif ()
6+ "Skipping ${PXR_PACKAGE} because PXR_ENABLE_GL_SUPPORT is OFF" )
7+ return ()
178endif ()
189
1910set (optionalPublicClasses "" )
2011if (X11_FOUND)
2112 list (APPEND optionalPublicClasses testGLContext)
2213endif ()
2314
24- set (optionalLibs "" )
25- set (optionalIncludeDirs "" )
26-
2715pxr_library (glf
2816 LIBRARIES
2917 ar
@@ -36,11 +24,8 @@ pxr_library(glf
3624 tf
3725 trace
3826 sdf
39- ${optionalLibs}
40-
41- INCLUDE_DIRS
42- ${Boost_INCLUDE_DIRS}
43- ${optionalIncludeDirs}
27+ OpenGL::GL
28+ ${X11_LIBRARIES}
4429
4530 PUBLIC_CLASSES
4631 bindingMap
@@ -66,9 +51,6 @@ pxr_library(glf
6651 PUBLIC_HEADERS
6752 api.h
6853
69- CPPFILES
70- ${optionalCppFiles}
71-
7254 PYTHON_CPPFILES
7355 moduleDeps.cpp
7456
You can’t perform that action at this time.
0 commit comments