Hi all,I'm trying to figure out how to use the CMAKE_POLICY() command. I want to get rid of the warning on CMP0017. I've strategically placed "cmake_policy(PUSH)", "cmake_policy(SET CMP0017 OLD)", and "cmake_policy(POP)" which solves the problem when configuring with CMake 2.8.9.
However, our project also needs to be compatible with CMake 2.6.2. The problem is that this older CMake now bails out with an error message:
CMake Error at CMake/FindLAPACK.cmake:44 (cmake_policy): Policy "CMP0017" is not known to this version of CMake.This sounds like a catch-22. I've fixed the warning for the new CMake, but get an error in return for the old CMake. What am I doing wrong??
Best regards, Marcel Loose.
<<attachment: loose.vcf>>
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake