Skip to content

Commit

Permalink
Fix Linux and older USD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk committed Nov 7, 2023
1 parent 23aeb97 commit 5cef3f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/mayaUsd/render/MaterialXGenOgsXml/ShaderGenUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <MaterialXCore/Document.h>

#include <list>
#include <sstream>

namespace MaterialXMaya {
Expand Down
2 changes: 1 addition & 1 deletion test/lib/mayaUsd/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if(IS_WINDOWS)
testSplitString.cpp
)

if(CMAKE_WANT_MATERIALX_BUILD)
if(CMAKE_WANT_MATERIALX_BUILD AND PXR_VERSION GREATER_EQUAL 2211)
add_mayaUsdLibUtils_test(
test_ShaderGenUtils
test_ShaderGenUtils.cpp
Expand Down

0 comments on commit 5cef3f9

Please sign in to comment.