Use llvm and clang of cling.
This commit is contained in:
parent
449c26d5f4
commit
e2c39705ad
@ -4,7 +4,9 @@
|
||||
# uses LLVM's. When it does, we should move this file to ClingConfig.cmake.in
|
||||
# and call configure_file() on it.
|
||||
|
||||
find_package(LLVM REQUIRED CONFIG)
|
||||
# Don't just use any llvm / clang: cling needs its own:
|
||||
find_package(LLVM REQUIRED CONFIG NO_DEFAULT_PATH PATHS "${CMAKE_CURRENT_LIST_DIR}/../llvm")
|
||||
find_package(clang REQUIRED CONFIG NO_DEFAULT_PATH PATHS "${CMAKE_CURRENT_LIST_DIR}/../clang")
|
||||
|
||||
# Provide all our library targets to users.
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/ClingTargets.cmake")
|
||||
|
Loading…
Reference in New Issue
Block a user