See this CMake bug report I filed. My patch was already applied and will make it into CMake 3.6. For older CMake versions, as BASIS yet requires only version 2.8.12, a copy of this fixed module needs to be added to the CMake BASIS Modules (see this commit).
The CMake BASIS Modules develop branch changes with above linked committed has been merged into the develop branch of CMake BASIS (see this commit) with installation rules added here.
See this CMake bug report I filed. My patch was already applied and will make it into CMake 3.6. For older CMake versions, as BASIS yet requires only version 2.8.12, a copy of this fixed module needs to be added to the CMake BASIS Modules (see this commit).