diff --git a/stimBuffApis/livoxGen1/CMakeLists.txt b/stimBuffApis/livoxGen1/CMakeLists.txt index bfc777d..e1ad253 100644 --- a/stimBuffApis/livoxGen1/CMakeLists.txt +++ b/stimBuffApis/livoxGen1/CMakeLists.txt @@ -27,7 +27,12 @@ if(ENABLE_STIMBUFFAPI_livoxGen1) # Fall back to pkg-config pkg_check_modules(OPENCL OpenCL) if(NOT OPENCL_FOUND) - message(FATAL_ERROR "Failed to find OpenCL: both find_package and pkg_check_modules failed") + message(FATAL_ERROR + "Failed to find OpenCL: both find_package and " + "pkg_check_modules failed. Try installing the " + "'ocl-icd-opencl-dev' package (or the appropriate " + "OpenCL development package for your system)." + ) endif() message(STATUS "Found OpenCL using pkg-config") endif()