From: Nabil Ghodbane Date: Wed, 25 Aug 2021 11:40:48 +0000 (+0200) Subject: spns #24320 : Windows DLL X-Git-Tag: V9_8_0~111 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47932b4bf1793387a30a878beab8931d12a2c093;p=tools%2Fsat_salome.git spns #24320 : Windows DLL --- 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):