Skip to content

Commit

Permalink
cmake: fix build issue with OpenUSD v24.08+
Browse files Browse the repository at this point in the history
  • Loading branch information
pablode committed Sep 21, 2024
1 parent 958b62e commit 8a2cae5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ option(GTL_BUILD_HDGATLING "Build the gatling hydra render delegate." ON)
option(GTL_VERBOSE "Enable verbose logging." OFF)

if(${GTL_BUILD_HDGATLING})
find_package(USD REQUIRED HINTS ${USD_ROOT} NAMES pxr)
find_package(OpenGL REQUIRED) # Required due to USD bug #3309
find_package(MaterialX REQUIRED HINTS ${USD_ROOT})
find_package(USD REQUIRED HINTS ${USD_ROOT} NAMES pxr)
endif()
find_package(MDL REQUIRED)
find_package(OpenMP)
Expand Down

0 comments on commit 8a2cae5

Please sign in to comment.