Set CMP0046 iif CMake version >= 3

Signed-off-by: Matt Benjamin <matt@cohortfs.com>