diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d0097634f..97e3921c04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)