The NIFTI library is incorporated in, and distributed with, ITK. The CMake machinery is intended to detect this and version the library differently when used in ITK. This isn't done correctly, however.
I initially reported this on the ITK bug tracker, and there is a patch there to fix it.