From 34467ef45eba931b32fb8405e6e5636f11fecd06 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 30 Oct 2023 18:33:04 +0400 Subject: [PATCH] Improved warning message for BA + OpenCL case (#20725) * Improved warning message for BA + OpenCL case * Update samples/cpp/benchmark_app/CMakeLists.txt Co-authored-by: Helena Kloosterman --------- Co-authored-by: Helena Kloosterman --- samples/cpp/benchmark_app/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/cpp/benchmark_app/CMakeLists.txt b/samples/cpp/benchmark_app/CMakeLists.txt index 863c2278058..c786fde4c2f 100644 --- a/samples/cpp/benchmark_app/CMakeLists.txt +++ b/samples/cpp/benchmark_app/CMakeLists.txt @@ -143,7 +143,7 @@ if(SAMPLES_ENABLE_OPENCL) target_link_libraries(${TARGET_NAME} PRIVATE OpenCL::OpenCL) else() - message(WARNING "OpenCL CPP header is not found, ${TARGET_NAME} will be built without OpenCL support. Download it from: https://github.com/KhronosGroup/OpenCL-CLHPP and set -Dopencl_root_hints=[PATH]/OpenCL-CLHPP/include to cmake.") + message(WARNING "OpenCL CPP header is not found, ${TARGET_NAME} will be built without OpenCL support and you will not be able to use the '-use_device_mem' option. Please, install ' install opencl-headers' to enable the option") endif() endif()