From 63ccbef0d8b77e85e5706362205bc31e420fcde0 Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Fri, 10 May 2024 07:18:14 -0400 Subject: [PATCH] SWDEV-457529 - Fix to build dynamic OpenCL libs in Static build environment. Change-Id: Iaa26ccf13df919e6180704650564d9b0633e59da --- opencl/amdocl/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opencl/amdocl/CMakeLists.txt b/opencl/amdocl/CMakeLists.txt index 99d2814e2c..7829021f17 100644 --- a/opencl/amdocl/CMakeLists.txt +++ b/opencl/amdocl/CMakeLists.txt @@ -78,6 +78,8 @@ else() set_target_properties(amdocl PROPERTIES OUTPUT_NAME "amdocl32") endif() +target_include_directories(amdocl PUBLIC $) + target_sources(amdocl PRIVATE cl_command.cpp cl_context.cpp