From 47932b4bf1793387a30a878beab8931d12a2c093 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 25 Aug 2021 13:40:48 +0200 Subject: [PATCH] spns #24320 : Windows DLL --- products/env_scripts/MeshGems.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/products/env_scripts/MeshGems.py b/products/env_scripts/MeshGems.py index 3dfd260..f320c14 100644 --- a/products/env_scripts/MeshGems.py +++ b/products/env_scripts/MeshGems.py @@ -30,7 +30,10 @@ def set_distene_licence(env): def set_DASSAULT_license(env, version): env.add_comment("DASSAULT MeshGems KeyGenerator based License") - env.set('SALOME_MG_KEYGEN_LIB_PATH', '/home/salome/private/MeshGems/libSalomeMeshGemsKeyGenerator-' + version + '.so') + if platform.system() == "Windows" : + env.set('SALOME_MG_KEYGEN_LIB_PATH', 'W:\\private\\MeshGems\\libSalomeMeshGemsKeyGenerator-' + version + '.dll') + else: + env.set('SALOME_MG_KEYGEN_LIB_PATH', '/home/salome/private/MeshGems/libSalomeMeshGemsKeyGenerator-' + version + '.so') return def set_env(env, prereq_dir, version): -- 2.39.2