patch [#33969] fix for [#33968] Blenders Custom Project File Generator for QtCreator...
[blender.git] / build_files / cmake / project_info.py
index 99c6ad09ce5ce3d50eb7cdfbfc79da31c6426017..ff1232511956469640164ebad1e822303feaa6d1 100755 (executable)
@@ -141,7 +141,7 @@ def cmake_advanced_info():
         if sys.platform == "win32":
             cmd = 'cmake "%s" -G"Eclipse CDT4 - MinGW Makefiles"' % CMAKE_DIR
         else:
-            if make_exe_basename.startswith("make"):
+            if make_exe_basename.startswith("make") or make_exe_basename.startswith("gmake"):
                 cmd = 'cmake "%s" -G"Eclipse CDT4 - Unix Makefiles"' % CMAKE_DIR
             elif make_exe_basename.startswith("ninja"):
                 cmd = 'cmake "%s" -G"Eclipse CDT4 - Ninja"' % CMAKE_DIR