Closed raquelalegre closed 8 years ago
I could also remove the cmake_policy command altogether since it seems to only be needed by my laptop and cause trouble elsewhere. What do you think is best?
I suggest doing something like
if((CMAKE_MAJOR_VERSION GREATER 3) OR (CMAKE_MAJOR_VERSION EQUAL 3))
cmake_policy(SET CMP0042 OLD)
endif()
See https://github.com/DCPROGS/HJCFIT/milestones