CMake: Only set CMP0042 if CMake's version is greater than 3.0.
CMake: Only set CMP0042 if CMake's version is greater than 3.0.

venediktov/json-voorhees,venediktov/json-voorhees,tgockel/json-voorhees,tgockel/json-voorhees