We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8faf9bc commit 61197a3Copy full SHA for 61197a3
1 file changed
interpreter/CMakeLists.txt
@@ -59,8 +59,6 @@ if(NOT experimental_adaptivecpp)
59
set(CMAKE_DISABLE_FIND_PACKAGE_CUDA ON)
60
endif()
61
62
-# will be set again in case NOT builtin_llvm
63
-set(LLVM_DIR "${CMAKE_CURRENT_BINARY_DIR}/llvm-project/llvm")
64
if (clad)
65
set(CLING_BUILD_PLUGINS ON)
66
@@ -252,6 +250,8 @@ if(builtin_llvm)
252
250
set(CMAKE_CXX_STANDARD ${_cxx_standard})
253
251
set(CMAKE_BUILD_TYPE ${_build_type})
254
+ # Needed to make Cling plugins (clad) find LLVM.
+ set(LLVM_DIR "${CMAKE_CURRENT_BINARY_DIR}/llvm-project/llvm")
255
set(LLVM_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/llvm-project/llvm/include
256
${CMAKE_CURRENT_BINARY_DIR}/llvm-project/llvm/include
257
CACHE STRING "LLVM include directories."
0 commit comments