From 8e0b7158b1f77f6a5299f7f95c9cc8167410c6bf Mon Sep 17 00:00:00 2001 From: Philippe Canal Date: Thu, 10 Sep 2020 20:13:22 +0200 Subject: [PATCH] Tell clad where to find LLVM. This is needed to fix ROOT-10886 in conjunction with https://github.com/vgvassilev/clad/pull/170. --- tools/plugins/clad/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/plugins/clad/CMakeLists.txt b/tools/plugins/clad/CMakeLists.txt index 31b20757..b42492b8 100644 --- a/tools/plugins/clad/CMakeLists.txt +++ b/tools/plugins/clad/CMakeLists.txt @@ -69,7 +69,9 @@ else() -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} + -DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} + -DLLVM_DIR=${LLVM_DIR} -DClang_DIR=${Clang_DIR} -DCLANG_INCLUDE_DIRS=${CLANG_INCLUDE_DIRS} -DCLAD_BUILD_STATIC_ONLY=ON