Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions interpreter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ if(NOT experimental_adaptivecpp)
set(CMAKE_DISABLE_FIND_PACKAGE_CUDA ON)
endif()

# will be set again in case NOT builtin_llvm
set(LLVM_DIR "${CMAKE_CURRENT_BINARY_DIR}/llvm-project/llvm")
if (clad)
set(CLING_BUILD_PLUGINS ON)
endif()
Expand Down Expand Up @@ -252,6 +250,8 @@ if(builtin_llvm)
set(CMAKE_CXX_STANDARD ${_cxx_standard})
set(CMAKE_BUILD_TYPE ${_build_type})

# Needed to make Cling plugins (clad) find LLVM.
set(LLVM_DIR "${CMAKE_CURRENT_BINARY_DIR}/llvm-project/llvm")
set(LLVM_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/llvm-project/llvm/include
${CMAKE_CURRENT_BINARY_DIR}/llvm-project/llvm/include
CACHE STRING "LLVM include directories."
Expand Down
Loading