Skip to content

Commit

Permalink
Guard building MaterialXRenderGlsl on iOS because that platform doesn…
Browse files Browse the repository at this point in the history
…'t support OpenGL
  • Loading branch information
ld-kerley committed Aug 14, 2024
1 parent 4537246 commit d58b75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ if (MATERIALX_BUILD_RENDER_CORE OR MATERIALX_BUILD_RENDER)
endif ()
if (MATERIALX_BUILD_RENDER)
add_subdirectory(source/MaterialXRenderHw)
if (MATERIALX_BUILD_GEN_GLSL)
if (MATERIALX_BUILD_GEN_GLSL AND NOT MATERIALX_BUILD_IOS)
add_subdirectory(source/MaterialXRenderGlsl)
endif()
if (APPLE AND MATERIALX_BUILD_GEN_MSL)
Expand Down

0 comments on commit d58b75c

Please sign in to comment.