If the idea is to systematically shorten the install path, instead of setting the variable `_SimpleITKIsOnMasterOrRelease `, simply pass the option to simpleITK adding a comment. For example:
```
-DSimpleITK_BUILD_DISTRIBUTE:BOOL=ON # Shorten install path systematically removing -g{GIT-HASH} suffix.
```