CMP0042 introduced in CMake 3
lpuglia opened this issue · comments
Hi,
the file ./cnpy/CMakeLists.txt has an error in the requirement
CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
in fact, later it uses:
if(POLICY CMP0042)
which was introduced in CMake 3:
https://cmake.org/cmake/help/v3.0/policy/CMP0042.html
Thanks for catching this.. I will update the version requirement.
Status?