Hy @Nazmul_Alom.
It looks like your gcc version (C++ compiler)  is incompatible with cuda.
You can check your gcc version through terminal like this.
gcc --version

and
sudo apt install gcc-7 g++-7 

I guess this should help, if not you should probably have to set cmake to gcc specific version.
cmake  -D CMAKE_C_COMPILER=/path/to/ gcc/bin/gcc -D CMAKE_CXX_COMPILER=/path/to/gcc/bin/g++`