Cmake and CentOS are not recognizing the cv command

Dear all,
I am trying to compile the source code of accelerad in a CentOS linux system with the instructions below:

git clone https://github.com/nljones/Accelerad.git
mkdir AcceleradBuild
cd AcceleradBuild
cmake …/Accelerad
make

But it looks like Cmake on CentOS is not recognizing the cv command, which is a Radiance command.
When I type make, I do not produce all the executables I need and the output is:

[ 1%] Built target libreetz

[ 2%] Built target mgf

[ 3%] Built target rgl

[ 19%] Built target rtrad

[ 29%] Built target radiance

[ 29%] Built target testBSDF

[ 29%] Built target cnt

[ 29%] Built target ev

[ 29%] Built target histo

[ 29%] Built target icalc

[ 29%] Built target neaten

[ 30%] Built target rcalc

[ 30%] Built target rlam

[ 30%] Built target tabfunc

[ 30%] Built target total

[ 30%] Built target 3ds2mgf

[ 30%] Built target arch2rad

[ 30%] Built target bsdf2klems

[ 31%] Built target bsdf2rad

[ 31%] Built target bsdf2ttree

[ 32%] Built target bsdfquery

[ 33%] Built target epw2wea

[ 34%] Built target ies2rad

[ 35%] Built target lampcolor

[ 35%] Built target mgf2inv

[ 36%] Built target meta

[ 36%] Built target mgf2meta

[ 36%] Built target mgf2rad

[ 37%] Built target mgfilt

[ 38%] Built target nff2rad

[ 39%] Built target obj2rad

[ 39%] Built target pkgBSDF

[ 40%] Built target rad2mgf

[ 41%] Built target tmesh2rad

[ 42%] Built target genbeads

[ 42%] Built target genblinds

[ 42%] Built target genbox

[ 42%] Built target genbranch

[ 42%] Built target gencatenary

[ 43%] Built target genclock

[ 43%] Built target gendaylit

[ 43%] Built target gendaymtx

[ 43%] Built target genmarble

[ 44%] Built target genprism

[ 44%] Built target genrev

[ 44%] Built target gensky

[ 45%] Built target gensurf

[ 45%] Built target genworm

[ 45%] Built target raycalls

[ 45%] Built target mkillum

[ 45%] Built target mksource

[ 45%] Built target replmarks

[ 45%] Built target xform

[ 45%] Built target genrhgrid

[ 46%] Built target rhcopy

[ 46%] Built target rhinfo

[ 48%] Built target rholo

[ 49%] Built target rhoptimize

[ 50%] Built target rhpict

[ 51%] Built target x11.hdi

[ 52%] Built target bgraph

[ 53%] Built target cv

[ 53%] Built target dgraph

[ 53%] Built target gcomp

[ 53%] Built target igraph

[ 54%] Built target meta2bmp

[ 55%] Built target meta2tga

CMake Error: cmake version 3.1.1

Usage: /user/other/abinitio/bin/cp2k-5.1_no_inf_mkl_leaf/tools/toolchain/install/cmake-3.1.1/bin/cmake -E [command] [arguments …]

Available commands:

chdir dir cmd [args]… - run command in a given directory

compare_files file1 file2 - check if file1 is same as file2

copy file destination - copy file to destination (either file or directory)

copy_directory source destination - copy directory ‘source’ content to directory ‘destination’

copy_if_different in-file out-file - copy file if input has changed

echo [string]… - displays arguments as text

echo_append [string]… - displays arguments as text but no new line

env [–unset=NAME]… [NAME=VALUE]… COMMAND [ARG]…

                        - run command in a modified environment

environment - display the current environment

make_directory dir - create a directory

md5sum file1 […] - compute md5sum of files

remove [-f] file1 file2 … - remove the file(s), use -f to force it

remove_directory dir - remove a directory and its contents

rename oldname newname - rename a file or directory (on one volume)

tar [cxt][vfz][cvfj] file.tar [file/dir1 file/dir2 …]

                        - create or extract a tar or zip archive

sleep <number>… - sleep for given number of seconds

time command [args] … - run command and return elapsed time

touch file - touch a file.

touch_nocreate file - touch a file but do not create it.

Available on UNIX only:

create_symlink old new - create a symbolic link new -> old

src/meta/CMakeFiles/mta.dir/build.make:49: recipe for target ‘src/meta/CMakeFiles/mta’ failed

make[2]: * [src/meta/CMakeFiles/mta] Error 1

CMakeFiles/Makefile2:3484: recipe for target ‘src/meta/CMakeFiles/mta.dir/all’ failed

make[1]: * [src/meta/CMakeFiles/mta.dir/all] Error 2

Makefile:147: recipe for target ‘all’ failed

make: * [all] Error 2

Any ideas of I could fix it?
Thank you !

Mmmm. That’s a pretty old version of cmake, and that’s probably the source of the problem. Can you upgrade it?