-#if MESHGEMS_VERSION_HEX > MESHGEMS_215
- MESSAGE("MeshGems > 2.15.0");
- MESSAGE("=> unlock CADSurf discrete with SPATIAL_LICENSE key");
- std::string SPATIAL_LICENSE = SMESHUtils_MGLicenseKeyGen::GetKey(errorTxt);
- ret = meshgems_cadsurf_unlock_product(SPATIAL_LICENSE.c_str());
- if STATUS_IS_ERROR( ret )
- return error( ret, "Problem with SPATIAL_LICENSE to unlock CADSurf discrete: " + errorTxt);
-#else
- MESSAGE("MeshGems < 2.15.0");
- MESSAGE("=> Sign the mesh with its info");
- if ( !SMESHUtils_MGLicenseKeyGen::SignMesh( msh, errorTxt ))