From 4142e9e3549c5f2422ded36f18afd77c1f62e26a Mon Sep 17 00:00:00 2001
From: Isuru Fernando <isuruf@gmail.com>
Date: Sat, 8 Jan 2022 12:19:28 +0000
Subject: [PATCH] Fallback to checking for gmsh.dll when gmsh-4.9.dll doesn't
 exist

---
 api/GenApi.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/GenApi.py b/api/GenApi.py
index c58857b3ae..7bafee5574 100644
--- a/api/GenApi.py
+++ b/api/GenApi.py
@@ -1152,6 +1152,8 @@ if not os.path.exists(libpath):
 if not os.path.exists(libpath):
     if platform.system() == "Windows":
         libpath = find_library("{7}-{3}.{4}")
+        if not libpath:
+            libpath = find_library("{7}")
     else:
         libpath = find_library("{7}")
 
-- 
GitLab