Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ if(NOT pxr_FOUND)
find_package(pxr REQUIRED)
endif()

if(TARGET usd_ms)
foreach(pxr_lib gf tf trace vt work cameraUtil hd hdx hf sdf usd usdGeom usdImaging usdSkel usdShade usdLux usdVol ndr sdr ar)
if(NOT TARGET ${pxr_lib})
add_library(${pxr_lib} INTERFACE IMPORTED)
set_target_properties(${pxr_lib} PROPERTIES INTERFACE_LINK_LIBRARIES "usd_ms;OpenGL::GL")
endif()
endforeach()
endif()


# This is needed for linking against the USD 0.25.5 libraries
# as they depend on OpenGL but don't specify it in
# their cmake config.
Expand Down