Unknown CMake command "CPMAddPackage"

Hi
I can not figure out what to do with this error on a Debian 10.

$ cmake -DGUNROCK_GENCODE_SM75=ON ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda (found suitable version "10.1", minimum required is "9.0")
-- Boost version: 1.67.0
-- Boost version: 1.67.0
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Found OpenMP
-- Downloading CPM.cmake to /home/mahmood/gunrock2/gunrock/build/cmake/CPM_0.27.5.cmake
CMake Error at CMakeLists.txt:76 (CPMAddPackage):
  Unknown CMake command "CPMAddPackage".


-- Configuring incomplete, errors occurred!
See also "/home/mahmood/gunrock2/gunrock/build/CMakeFiles/CMakeOutput.log".
See also "/home/mahmood/gunrock2/gunrock/build/CMakeFiles/CMakeError.log".

The CMakeLists.txt is available here and the following packages are installed

$ dpkg -l | grep cmake
ii  cmake           3.13.4-1     amd64     cross-platform, open-source make system
ii  cmake-data      3.13.4-1     all       CMake data files (modules, templates and documentation)
ii  cmake-qt-gui    3.13.4-1     amd64     Qt based user interface for CMake (cmake-gui)

I don’t have this problem on Ubuntu 20.04. Any idea to fix that?

CPM is a third party package (upstream link). You probably have another package installed on your 20.04 box which provides it.

I’m pretty sure this is the proper link: