Closed pavanky closed 11 years ago
@kknox Let me know what is the preferable solution. We came across this when trying to build on a Scientific Linux 6.x system (same as redhat and centos 6.x). We got around this by installing 2.8 (from here http://pkgs.repoforge.org/cmake/).
Let me know which is the preferred method (i.e. forcing cmake version vs changing the cmake files)
@pavanky I plan to keep using the ExternalProject module in the future, as I hope to be able to integrate a 'superbuild' infrastructure into clMath, similar to what I did in Bolt. cmake 2.8.0 was released in 2009, so I do not think it unreasonable to require the higher minimum version. As a datapoint, the FFT library already requires 2.8.3 for windows.
I think the correct option here is to change
cmake_minimum_required(VERSION 2.6)
to
cmake_minimum_required(VERSION 2.8)
in the root level cmakefile.
Pull request sent https://github.com/clMathLibraries/clBLAS/pull/11
When using cmake < 2.8, this is the error we see.
The build should either be checking for cmake version or we should alternative means to build this particular section.