From 2f99b68754c3800535a54ddeebea75bb500566e2 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Mon, 1 Jan 2024 14:05:14 +0100 Subject: [PATCH] Fix clad build with LLVM_LIBDIR_SUFFIX This fixes builtin_llvm=OFF builds on at least EL8 platforms that currently have exactly LLVM 16.0.6. --- tools/plugins/clad/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plugins/clad/CMakeLists.txt b/tools/plugins/clad/CMakeLists.txt index ec04021834..36944ff501 100644 --- a/tools/plugins/clad/CMakeLists.txt +++ b/tools/plugins/clad/CMakeLists.txt @@ -12,7 +12,7 @@ set(clad_install_dir ${CMAKE_BINARY_DIR}/etc/cling/) # Specify include dirs for clad set(CLAD_INCLUDE_DIRS ${clad_install_dir}) # Clad Libraries -set(_CLAD_LIBRARY_PATH ${clad_install_dir}/plugins/lib) +set(_CLAD_LIBRARY_PATH ${clad_install_dir}/plugins/lib${LLVM_LIBDIR_SUFFIX}) # build byproducts only needed by Ninja if("${CMAKE_GENERATOR}" STREQUAL "Ninja")