Skip to content

Commit

Permalink
Self-explanatory if in pxrConfig.cmake.in
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaskenez committed Dec 2, 2024
1 parent 08c8ca9 commit 9decb4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pxr/pxrConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ endif()

include(CMakeFindDependencyMacro)

if(@PXR_FIND_TBB_IN_CONFIG@)
set(PXR_FIND_TBB_IN_CONFIG "@PXR_FIND_TBB_IN_CONFIG@")
if(PXR_FIND_TBB_IN_CONFIG)
find_dependency(TBB @TBB_VERSION@ CONFIG)
endif()

if(@PXR_FIND_OPENSUBDIV_IN_CONFIG@)
set(PXR_FIND_OPENSUBDIV_IN_CONFIG "@PXR_FIND_OPENSUBDIV_IN_CONFIG@")
if(PXR_FIND_OPENSUBDIV_IN_CONFIG)
find_dependency(OpenSubdiv @OpenSubdiv_VERSION@ CONFIG)
endif()

Expand Down

0 comments on commit 9decb4e

Please sign in to comment.