Skip to content

Commit d5fa086

Browse files
committed
Port fixes for 25.05 on fix-7.4.2
1 parent 7686da0 commit d5fa086

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

plugins/procedural/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ endif()
3939
# LINK
4040
target_link_libraries(${PROC_NAME} PRIVATE translator common)
4141
if (ENABLE_HYDRA_IN_USD_PROCEDURAL)
42-
target_link_libraries(${PROC_NAME} PRIVATE render_delegate hdsi ndrObjects usdImaging usdImagingArnoldObjects)
42+
target_link_libraries(${PROC_NAME} PRIVATE render_delegate ndrObjects usdImaging usdImagingArnoldObjects)
43+
if (${USD_VERSION} VERSION_GREATER_EQUAL "0.25.05")
44+
target_link_libraries(${PROC_NAME} PRIVATE hdsi;usdSkelImaging;ts)
45+
endif ()
4346
endif()
4447

4548
if (APPLE OR LINUX)

plugins/procedural/SConscript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ else: # shared libs
118118
'work', # render_delegate
119119
'hf', # render_delegate
120120
'hd', # render_delegate
121-
'hdsi', # render_delegate
122121
'hdx', # render_delegate
123122
'sdf', # render_delegate
124123
'usdImaging', # render_delegate
@@ -133,6 +132,9 @@ else: # shared libs
133132
if local_env['USD_VERSION_INT'] >= 2411:
134133
usd_libs += ['boost','python',]
135134

135+
if local_env['USD_VERSION_INT'] >= 2505:
136+
usd_libs += ['hdsi','ts', 'usdSkelImaging']
137+
136138
usd_deps += [get_tbb_lib(env)]
137139

138140
usd_libs, usd_sources = link_usd_libraries(local_env, usd_libs)

0 commit comments

Comments
 (0)