File cmake.patch of Package MaterialX
diff --git a/source/MaterialXView/NanoGUI/CMakeLists.txt b/source/MaterialXView/NanoGUI/CMakeLists.txt
index 2f89d2e..084fa15 100644
--- a/source/MaterialXView/NanoGUI/CMakeLists.txt
+++ b/source/MaterialXView/NanoGUI/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.13..3.18)
+cmake_minimum_required (VERSION 3.13)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.14)
# Extract project version from source
diff --git a/source/MaterialXView/NanoGUI/resources/bin2c.cmake b/source/MaterialXView/NanoGUI/resources/bin2c.cmake
index 97884ef..76b94b1 100644
--- a/source/MaterialXView/NanoGUI/resources/bin2c.cmake
+++ b/source/MaterialXView/NanoGUI/resources/bin2c.cmake
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 2.8.12)
+cmake_minimum_required (VERSION 3.5)
# Create header for C file
file(WRITE ${OUTPUT_C} "/* Autogenerated by bin2c */\n\n")