diff --git a/GPU/GPUTracking/Base/opencl2/CMakeLists.txt b/GPU/GPUTracking/Base/opencl2/CMakeLists.txt index 6992a8b3d6671..7c6682a80b1ac 100644 --- a/GPU/GPUTracking/Base/opencl2/CMakeLists.txt +++ b/GPU/GPUTracking/Base/opencl2/CMakeLists.txt @@ -50,6 +50,7 @@ if(OPENCL2_ENABLED_SPIRV) # BUILD OpenCL2 intermediate code for SPIR-V target COMMAND ${LLVM_CLANG} -O0 --target=spirv64 + -fintegrated-objemitter ${OCL_FLAGS} ${OCL_DEFINECL} -o ${CL_BIN}.spirv -c ${CL_SRC}