From e06c4cc6fdff14b05801a6d08eefd3e477c92949 Mon Sep 17 00:00:00 2001 From: Artyom Anokhov Date: Thu, 27 Apr 2023 14:22:53 +0200 Subject: [PATCH] CMakeLists: Changed FATAL_ERROR to Warning in case of OpenCLHeaders not found (#17260) --- thirdparty/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt index c389dcf9e54..aa38137c3e2 100644 --- a/thirdparty/CMakeLists.txt +++ b/thirdparty/CMakeLists.txt @@ -43,7 +43,7 @@ if(ENABLE_INTEL_GPU) # 'brew install opencl-headers' find_package(OpenCLHeaders QUIET) if(NOT OpenCLHeaders_FOUND) - message(FATAL_ERROR "OpenCLHeaders not found, but OpenCLICDLoader is installed. Please, install OpenCL headers") + message(WARNING "OpenCLHeaders not found, but OpenCLICDLoader is installed. Please, install OpenCL headers") else() set_target_properties(OpenCL::Headers PROPERTIES IMPORTED_GLOBAL ON) endif()