I have install suitesparse by sudo apt-get install libsuitesparse-dev
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CUDA_FLAGS="-arch=sm_61" ..
-- Symbol prefix:
CMake Error at applications/badslam/CMakeLists.txt:7 (find_package):
By not providing "FindSuiteSparse.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"SuiteSparse", but CMake did not find one.
Could not find a package configuration file provided by "SuiteSparse" with
any of the following names:
SuiteSparseConfig.cmake
suitesparse-config.cmake
Add the installation prefix of "SuiteSparse" to CMAKE_PREFIX_PATH or set
"SuiteSparse_DIR" to a directory containing one of the above files. If
"SuiteSparse" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/lu/badslam/build_RelWithDebInfo/CMakeFiles/CMakeOutput.log".
See also "/home/lu/badslam/build_RelWithDebInfo/CMakeFiles/CMakeError.log".